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.001311/0.001311, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001541/0.001541, allocations: 173.4 kB / 24.91 MB, free: 8.773 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.9585/0.9585, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.012e-06/1.012e-06, allocations: 0 / 273.5 MB, free: 1.137 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.97e-05, allocations: 5.406 kB / 273.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004242/0.004261, allocations: 4.935 MB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.006918, allocations: 1.834 MB / 280.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.007146, allocations: 16 kB / 280.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.008538, allocations: 1.24 MB / 281.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009157/0.009454, allocations: 0.6176 MB / 282.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.01018, allocations: 0.5789 MB / 282.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005695/0.01075, allocations: 0.7852 MB / 283.5 MB, free: 7.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000527/0.01128, allocations: 0.5567 MB / 284.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.01167, allocations: 482.8 kB / 284.5 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.01194, allocations: 343 kB / 284.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.012, allocations: 60 kB / 284.9 MB, free: 5.648 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003984/0.0124, allocations: 259.6 kB / 285.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.01249, allocations: 171.3 kB / 285.3 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.01265, allocations: 259.3 kB / 285.6 MB, free: 4.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006364/0.01328, allocations: 0.7238 MB / 286.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01329, allocations: 0 / 286.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01329, allocations: 4 kB / 286.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.01329, allocations: 0 / 286.3 MB, free: 4.242 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.002045/0.01534, allocations: 1.381 MB / 287.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.01537, allocations: 12.03 kB / 287.7 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003414/0.01878, allocations: 1.085 MB / 288.8 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.01911, allocations: 244.7 kB / 289 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.01915, allocations: 58.38 kB / 289.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.01923, allocations: 84.38 kB / 289.2 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.01977, allocations: 0.5623 MB / 289.7 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.01979, allocations: 3.938 kB / 289.7 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.01983, allocations: 35.94 kB / 289.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.01984, allocations: 20 kB / 289.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.02024, allocations: 373.7 kB / 290.2 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/0.1344, allocations: 1.738 MB / 291.9 MB, free: 19.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1356, allocations: 0.6367 MB / 292.5 MB, free: 19.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.1358, allocations: 148 kB / 292.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.321e-05/0.1359, allocations: 29.38 kB / 292.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1359, allocations: 44.12 kB / 292.8 MB, free: 19.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.326e-06/0.1359, allocations: 0 / 292.8 MB, free: 19.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001895/0.1378, allocations: 0.7776 MB / 293.5 MB, free: 19.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.1378, allocations: 61.44 kB / 293.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.138, allocations: 235.3 kB / 293.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.138, allocations: 35.77 kB / 293.9 MB, free: 18.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1381, allocations: 288.6 kB / 294.1 MB, free: 18.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.1383, allocations: 266 kB / 294.4 MB, free: 18.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.1384, allocations: 123.4 kB / 294.5 MB, free: 18.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.1385, allocations: 356.1 kB / 294.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1387, allocations: 83.28 kB / 295 MB, free: 18.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.1389, allocations: 208.2 kB / 295.2 MB, free: 18.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.1393, allocations: 369.6 kB / 295.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1393, allocations: 1.062 kB / 295.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007625/0.1401, allocations: 492.6 kB / 296 MB, free: 17.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1401, allocations: 6.875 kB / 296 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1401, allocations: 4.188 kB / 296 MB, free: 17.85 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/0.1407, allocations: 225.1 kB / 296.2 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.141, allocations: 136.8 kB / 296.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.1424, allocations: 1.933 MB / 298.3 MB, free: 16.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.1426, allocations: 59.67 kB / 298.4 MB, free: 16.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1426, allocations: 18.86 kB / 298.4 MB, free: 16.51 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.0001347/0.1428, allocations: 155.9 kB / 298.5 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/0.1429, allocations: 50.75 kB / 298.6 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.1436, allocations: 0.5164 MB / 299.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.1436, allocations: 9.453 kB / 299.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1436, allocations: 2.125 kB / 299.1 MB, free: 16.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.1436, allocations: 9.266 kB / 299.1 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1448, allocations: 0.8888 MB / 300 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1448, allocations: 1.219 kB / 300 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1451, allocations: 109.5 kB / 300.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004805/0.1455, allocations: 218.3 kB / 300.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.1456, allocations: 16.83 kB / 300.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.1469, allocations: 1.929 MB / 302.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1469, allocations: 0 / 302.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.1477, allocations: 0.6744 MB / 302.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.1478, allocations: 46.48 kB / 303 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.1478, allocations: 10.91 kB / 303 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.148, allocations: 22.95 kB / 303 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.1481, allocations: 68.73 kB / 303.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.1481, allocations: 11.22 kB / 303.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.218e-05/0.1482, allocations: 78.42 kB / 303.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1482, allocations: 0 / 303.2 MB, free: 14.51 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005985/0.1488, allocations: 244.2 kB / 303.4 MB, free: 14.47 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.0002068/0.149, allocations: 138 kB / 303.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.1497, allocations: 0.5602 MB / 304.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.1497, allocations: 2.531 kB / 304.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003175/0.15, allocations: 411.2 kB / 304.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.1502, allocations: 62.95 kB / 304.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1515, allocations: 1.019 MB / 305.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.641e-05/0.1516, allocations: 151.2 kB / 305.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.1518, allocations: 77.08 kB / 305.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.152, allocations: 126 kB / 305.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.152, allocations: 3.75 kB / 305.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Templates: time 0.01023/0.1622, allocations: 8.057 MB / 314 MB, free: 8.648 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 -s gbode -gbm=radauIIA3 -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.8959529930725694]