Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 169 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9711/0.9711, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.067e-05, allocations: 2.312 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004212/0.004233, allocations: 4.883 MB / 278.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00252/0.006753, allocations: 1.764 MB / 280 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.007037, allocations: 16 kB / 280.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.008644, allocations: 1.221 MB / 281.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.009743, allocations: 0.6098 MB / 281.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.01045, allocations: 0.5871 MB / 282.5 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.01111, allocations: 0.7813 MB / 283.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005163/0.01163, allocations: 0.5081 MB / 283.8 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.01202, allocations: 490.7 kB / 284.2 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.01227, allocations: 335.1 kB / 284.6 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.174e-05/0.01233, allocations: 64 kB / 284.6 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.01271, allocations: 239.7 kB / 284.9 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.01279, allocations: 175.3 kB / 285 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.01295, allocations: 255.3 kB / 285.3 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.01374, allocations: 0.7316 MB / 286 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01374, allocations: 0 / 286 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01374, allocations: 0 / 286 MB, free: 4.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01375, allocations: 0 / 286 MB, free: 4.605 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.001935/0.01568, allocations: 1.443 MB / 287.5 MB, free: 3.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.01572, allocations: 12.03 kB / 287.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.01855, allocations: 0.9797 MB / 288.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.01894, allocations: 359.4 kB / 288.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.01897, allocations: 58.38 kB / 288.9 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.01905, allocations: 76.38 kB / 288.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.01963, allocations: 0.5506 MB / 289.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.01966, allocations: 7.938 kB / 289.5 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.0197, allocations: 28 kB / 289.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.01971, allocations: 20 kB / 289.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000467/0.02018, allocations: 445.5 kB / 290 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/0.1301, allocations: 2.1 MB / 292.1 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/0.131, allocations: 0.7107 MB / 292.8 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.1312, allocations: 167.4 kB / 293 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.1313, allocations: 42.09 kB / 293 MB, free: 18.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1313, allocations: 47.92 kB / 293 MB, free: 18.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 1.923e-06/0.1313, allocations: 0 / 293 MB, free: 18.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001662/0.133, allocations: 0.9138 MB / 294 MB, free: 18.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.133, allocations: 61.2 kB / 294 MB, free: 18.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1332, allocations: 296.7 kB / 294.3 MB, free: 18.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.1332, allocations: 39.2 kB / 294.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1333, allocations: 350.1 kB / 294.7 MB, free: 18.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.1334, allocations: 267.3 kB / 294.9 MB, free: 18.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1336, allocations: 137.8 kB / 295.1 MB, free: 18.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.1336, allocations: 0.5275 MB / 295.6 MB, free: 17.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1338, allocations: 101.1 kB / 295.7 MB, free: 17.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.134, allocations: 275.7 kB / 296 MB, free: 17.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.1343, allocations: 424.9 kB / 296.4 MB, free: 17.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1343, allocations: 5.281 kB / 296.4 MB, free: 17.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007769/0.1351, allocations: 0.6116 MB / 297 MB, free: 17.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1351, allocations: 6.219 kB / 297 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1351, allocations: 4.156 kB / 297 MB, free: 17.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.1357, allocations: 235.1 kB / 297.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.136, allocations: 130.9 kB / 297.4 MB, free: 17.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.1376, allocations: 2.679 MB / 300.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1378, allocations: 63.67 kB / 300.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.1379, allocations: 22.11 kB / 300.1 MB, free: 15.16 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.0001726/0.138, allocations: 190.7 kB / 300.3 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.1381, allocations: 65.42 kB / 300.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008492/0.139, allocations: 0.6306 MB / 301 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.139, allocations: 7.906 kB / 301 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.139, allocations: 5.156 kB / 301 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.139, allocations: 11.36 kB / 301 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.1403, allocations: 1.183 MB / 302.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1403, allocations: 1.172 kB / 302.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.1405, allocations: 109.7 kB / 302.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.141, allocations: 226.4 kB / 302.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.1411, allocations: 20.89 kB / 302.6 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.1424, allocations: 2.685 MB / 305.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.1424, allocations: 0 / 305.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.1433, allocations: 0.8423 MB / 306.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1434, allocations: 51.81 kB / 306.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.1434, allocations: 15.59 kB / 306.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.1435, allocations: 21.45 kB / 306.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.1436, allocations: 63.83 kB / 306.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1436, allocations: 20.61 kB / 306.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.269e-05/0.1437, allocations: 200 kB / 306.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1437, allocations: 1.781 kB / 306.5 MB, free: 11.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006175/0.1443, allocations: 241.5 kB / 306.7 MB, free: 11.88 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.0002029/0.1446, allocations: 155.2 kB / 306.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006247/0.1452, allocations: 0.657 MB / 307.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1452, allocations: 0 / 307.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.1455, allocations: 495.2 kB / 308 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.1458, allocations: 66.81 kB / 308.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1469, allocations: 1.036 MB / 309.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.46e-05/0.147, allocations: 143.5 kB / 309.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.1472, allocations: 75.5 kB / 309.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.1473, allocations: 157 kB / 309.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1473, allocations: 0 / 309.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of Templates: time 0.009213/0.1566, allocations: 8.09 MB / 317.6 MB, free: 5.062 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9205068480223417]