Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.0008182/0.0008182, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0008941/0.0008941, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.9376/0.9376, allocations: 177 MB / 205.1 MB, free: 5.48 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.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035e-05/1.183e-05, allocations: 2.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.003921/0.003933, allocations: 4.876 MB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.005753, allocations: 1.768 MB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.005935, allocations: 12 kB / 280 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.007779, allocations: 1.221 MB / 281.2 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009766/0.008756, allocations: 0.6098 MB / 281.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.009572, allocations: 0.583 MB / 282.4 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006672/0.01024, allocations: 0.7813 MB / 283.2 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000616/0.01085, allocations: 0.5158 MB / 283.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.01133, allocations: 490.8 kB / 284.2 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.01166, allocations: 335.1 kB / 284.5 MB, free: 6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.01174, allocations: 64 kB / 284.6 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.01212, allocations: 247.6 kB / 284.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.01223, allocations: 163.3 kB / 285 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.01243, allocations: 263.3 kB / 285.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.01316, allocations: 0.7238 MB / 286 MB, free: 4.551 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.01317, allocations: 0 / 286 MB, free: 4.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01317, allocations: 4 kB / 286 MB, free: 4.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.01317, allocations: 0 / 286 MB, free: 4.547 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002618/0.01579, allocations: 1.447 MB / 287.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.01582, allocations: 11.98 kB / 287.4 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004589/0.02041, allocations: 0.9797 MB / 288.4 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.02082, allocations: 355.5 kB / 288.7 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.02086, allocations: 58.38 kB / 288.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.02096, allocations: 80.36 kB / 288.9 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.02166, allocations: 0.5507 MB / 289.4 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.02168, allocations: 3.938 kB / 289.4 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.653e-05/0.02174, allocations: 32 kB / 289.5 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.02176, allocations: 20 kB / 289.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.02237, allocations: 441.5 kB / 289.9 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1101/0.1324, allocations: 2.104 MB / 292 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.1333, allocations: 0.7081 MB / 292.7 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.1335, allocations: 173.8 kB / 292.9 MB, free: 18.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.1336, allocations: 44.09 kB / 292.9 MB, free: 18.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1336, allocations: 46.73 kB / 293 MB, free: 18.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 1.813e-06/0.1336, allocations: 3.828 kB / 293 MB, free: 18.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001575/0.1352, allocations: 0.9044 MB / 293.9 MB, free: 18.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.1352, allocations: 61.41 kB / 294 MB, free: 18.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1353, allocations: 297.9 kB / 294.2 MB, free: 18.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1353, allocations: 38.67 kB / 294.3 MB, free: 18.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.1354, allocations: 349 kB / 294.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1355, allocations: 271.6 kB / 294.9 MB, free: 18.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1357, allocations: 131.8 kB / 295 MB, free: 18.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.1357, allocations: 0.5281 MB / 295.5 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1359, allocations: 107.5 kB / 295.7 MB, free: 17.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.136, allocations: 273.5 kB / 295.9 MB, free: 17.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.1364, allocations: 427.5 kB / 296.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1364, allocations: 1.469 kB / 296.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007247/0.1371, allocations: 0.6145 MB / 297 MB, free: 17.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1371, allocations: 7.312 kB / 297 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1371, allocations: 4.297 kB / 297 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.1377, allocations: 233.9 kB / 297.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.1379, allocations: 132.2 kB / 297.3 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.1393, allocations: 2.675 MB / 300 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1395, allocations: 63.09 kB / 300.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.1395, allocations: 21.16 kB / 300.1 MB, free: 15.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.1396, allocations: 205.2 kB / 300.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.1397, allocations: 60.98 kB / 300.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000758/0.1405, allocations: 0.6298 MB / 301 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1405, allocations: 8.125 kB / 301 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1405, allocations: 3.219 kB / 301 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1405, allocations: 4.078 kB / 301 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.1417, allocations: 1.186 MB / 302.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1417, allocations: 3.375 kB / 302.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.142, allocations: 106.8 kB / 302.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004934/0.1425, allocations: 223.6 kB / 302.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.1425, allocations: 18.61 kB / 302.5 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.1439, allocations: 2.686 MB / 305.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1439, allocations: 2.125 kB / 305.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008661/0.1447, allocations: 0.8378 MB / 306 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.1448, allocations: 46.44 kB / 306.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.1448, allocations: 20.41 kB / 306.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1449, allocations: 24.73 kB / 306.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/0.145, allocations: 63.47 kB / 306.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.145, allocations: 20.81 kB / 306.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.183e-05/0.1451, allocations: 201.4 kB / 306.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1451, allocations: 0 / 306.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.1456, allocations: 242.4 kB / 306.6 MB, free: 11.92 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.1458, allocations: 157.8 kB / 306.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005642/0.1464, allocations: 0.6512 MB / 307.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1464, allocations: 0 / 307.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.1467, allocations: 0.4943 MB / 307.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.1469, allocations: 55.06 kB / 308 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1482, allocations: 1.029 MB / 309 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.602e-05/0.1483, allocations: 150 kB / 309.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.1485, allocations: 73.59 kB / 309.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.1486, allocations: 156.2 kB / 309.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1487, allocations: 0 / 309.4 MB, free: 10.55 MB / 266.7 MB Notification: Performance of Templates: time 0.008903/0.1576, allocations: 8.104 MB / 317.5 MB, free: 4.965 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.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: 2.7362511521205306]