Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9337/0.9337, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.38e-05, allocations: 5.266 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004125/0.004149, allocations: 3.982 MB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.006464, allocations: 1.596 MB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.006776, allocations: 11.94 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007523/0.007528, allocations: 262.6 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.008182, allocations: 313.9 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.008745, allocations: 279.1 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000723/0.009468, allocations: 0.7473 MB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.009691, allocations: 117.5 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000588/0.01028, allocations: 415 kB / 280.6 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.01058, allocations: 243.3 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.01064, allocations: 52 kB / 280.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.01083, allocations: 107.9 kB / 281 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.01095, allocations: 143.5 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.01111, allocations: 211.4 kB / 281.4 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005837/0.0117, allocations: 0.5176 MB / 281.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.0117, allocations: 0 / 281.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0117, allocations: 0 / 281.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.01171, allocations: 0 / 281.9 MB, free: 8.414 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001103/0.01281, allocations: 0.9887 MB / 282.9 MB, free: 7.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.01285, allocations: 11.98 kB / 282.9 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.01305, allocations: 108.5 kB / 283 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.01347, allocations: 375 kB / 283.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.0135, allocations: 37.3 kB / 283.4 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.01354, allocations: 36.38 kB / 283.4 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.01423, allocations: 454.2 kB / 283.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.01424, allocations: 8.125 kB / 283.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.01427, allocations: 16.38 kB / 283.9 MB, free: 6.273 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.01428, allocations: 11.94 kB / 283.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.01455, allocations: 181.8 kB / 284.1 MB, free: 6.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.01603, allocations: 1.676 MB / 285.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.01643, allocations: 284.1 kB / 286 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.01658, allocations: 111.6 kB / 286.1 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.0166, allocations: 11.75 kB / 286.1 MB, free: 3.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.01687, allocations: 333 kB / 286.5 MB, free: 3.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 2.325e-06/0.01688, allocations: 0 / 286.5 MB, free: 3.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001044/0.01792, allocations: 0.599 MB / 287.1 MB, free: 2.902 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.01799, allocations: 162.2 kB / 287.2 MB, free: 2.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.01833, allocations: 466.6 kB / 287.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.01836, allocations: 33.7 kB / 287.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.01851, allocations: 311.4 kB / 288 MB, free: 1.887 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.01858, allocations: 134.9 kB / 288.2 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.01867, allocations: 87.8 kB / 288.2 MB, free: 1.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.01881, allocations: 0.5274 MB / 288.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.01892, allocations: 64.95 kB / 288.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.01911, allocations: 299 kB / 289.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.01933, allocations: 200.6 kB / 289.3 MB, free: 496 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01933, allocations: 0 / 289.3 MB, free: 496 kB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005031/0.01984, allocations: 380.4 kB / 289.7 MB, free: 92 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.01986, allocations: 6.656 kB / 289.7 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01987, allocations: 4 kB / 289.7 MB, free: 84 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.02021, allocations: 146.7 kB / 289.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.02035, allocations: 43.97 kB / 289.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.02442, allocations: 8.24 MB / 298.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.02464, allocations: 47.81 kB / 298.2 MB, free: 7.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.02466, allocations: 8 kB / 298.2 MB, free: 7.105 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.02483, allocations: 190.6 kB / 298.4 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.0249, allocations: 67.61 kB / 298.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005366/0.02543, allocations: 408.5 kB / 298.8 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.02544, allocations: 4 kB / 298.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.02544, allocations: 0 / 298.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.02544, allocations: 0 / 298.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.02576, allocations: 360.2 kB / 299.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02577, allocations: 0 / 299.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.02584, allocations: 27.98 kB / 299.2 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.02607, allocations: 142.6 kB / 299.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.02608, allocations: 8 kB / 299.4 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1173/0.1434, allocations: 7.77 MB / 307.1 MB, free: 34.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1434, allocations: 1.859 kB / 307.1 MB, free: 34.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.1442, allocations: 461.2 kB / 307.6 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.1443, allocations: 82.39 kB / 307.7 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.1444, allocations: 11.28 kB / 307.7 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1446, allocations: 27.81 kB / 307.7 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.1447, allocations: 54.69 kB / 307.8 MB, free: 34.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.1447, allocations: 16.05 kB / 307.8 MB, free: 34.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002788/0.145, allocations: 312.7 kB / 308.1 MB, free: 34.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.145, allocations: 0 / 308.1 MB, free: 34.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007843/0.1458, allocations: 178 kB / 308.3 MB, free: 34.07 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.1468, allocations: 411.5 kB / 308.7 MB, free: 33.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007836/0.1476, allocations: 0.9293 MB / 309.6 MB, free: 33.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1476, allocations: 1.219 kB / 309.6 MB, free: 33.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.1481, allocations: 0.8335 MB / 310.4 MB, free: 32.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.1485, allocations: 115.5 kB / 310.5 MB, free: 32.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.1502, allocations: 0.9082 MB / 311.4 MB, free: 32.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.1504, allocations: 135.7 kB / 311.6 MB, free: 32.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.1505, allocations: 45.61 kB / 311.6 MB, free: 32.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.1506, allocations: 36.52 kB / 311.7 MB, free: 32.07 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1506, allocations: 0 / 311.7 MB, free: 32.07 MB / 282.7 MB Notification: Performance of Templates: time 0.01499/0.1656, allocations: 9.198 MB / 320.9 MB, free: 29.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2592153972946107]