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.001314/0.001314, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001095/0.001095, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9036/0.9036, allocations: 177.1 MB / 205 MB, free: 5.617 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.072e-06/1.072e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.197e-05, allocations: 6.312 kB / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004388/0.0044, allocations: 4.996 MB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.006714, allocations: 1.772 MB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.006948, allocations: 19.94 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.00861, allocations: 1.256 MB / 281 MB, free: 9.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009458/0.009556, allocations: 0.6216 MB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.01032, allocations: 0.5885 MB / 282.2 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007232/0.01104, allocations: 0.793 MB / 283 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.01167, allocations: 0.5042 MB / 283.5 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.01212, allocations: 490.7 kB / 284 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.01242, allocations: 331.1 kB / 284.3 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.01249, allocations: 64 kB / 284.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003841/0.01287, allocations: 247.6 kB / 284.6 MB, free: 5.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.01296, allocations: 171.3 kB / 284.8 MB, free: 5.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.01313, allocations: 259.3 kB / 285.1 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008543/0.01398, allocations: 0.7277 MB / 285.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.01399, allocations: 0 / 285.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01399, allocations: 4 kB / 285.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.014, allocations: 0 / 285.8 MB, free: 4.676 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.002165/0.01616, allocations: 1.432 MB / 287.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.01619, allocations: 12.03 kB / 287.2 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.01995, allocations: 0.9836 MB / 288.2 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.02044, allocations: 351.5 kB / 288.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/0.02048, allocations: 58.38 kB / 288.6 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.02059, allocations: 80.38 kB / 288.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.02153, allocations: 0.621 MB / 289.3 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.02156, allocations: 7.938 kB / 289.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.02162, allocations: 28 kB / 289.3 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.02164, allocations: 20 kB / 289.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009118/0.02255, allocations: 0.5307 MB / 289.9 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1063/0.1289, allocations: 2.163 MB / 292.1 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1299, allocations: 0.7598 MB / 292.8 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.1302, allocations: 203.5 kB / 293 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.12e-05/0.1303, allocations: 33.23 kB / 293.1 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1303, allocations: 44.8 kB / 293.1 MB, free: 18.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.735e-06/0.1303, allocations: 0.625 kB / 293.1 MB, free: 18.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.00188/0.1322, allocations: 1.001 MB / 294.1 MB, free: 18.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.1322, allocations: 60.56 kB / 294.2 MB, free: 18.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1324, allocations: 302.4 kB / 294.5 MB, free: 18.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.1324, allocations: 40.2 kB / 294.5 MB, free: 18.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1325, allocations: 349.8 kB / 294.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1326, allocations: 269.9 kB / 295.1 MB, free: 18.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1327, allocations: 129.7 kB / 295.2 MB, free: 18.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.1328, allocations: 0.5243 MB / 295.8 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.133, allocations: 132.7 kB / 295.9 MB, free: 17.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.1333, allocations: 303.6 kB / 296.2 MB, free: 17.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.1337, allocations: 492.5 kB / 296.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1337, allocations: 1.156 kB / 296.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009144/0.1346, allocations: 0.6839 MB / 297.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1347, allocations: 6.688 kB / 297.3 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1347, allocations: 3.656 kB / 297.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/0.1353, allocations: 237.5 kB / 297.6 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.1356, allocations: 135.8 kB / 297.7 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.1372, allocations: 2.744 MB / 300.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1374, allocations: 65.12 kB / 300.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.1374, allocations: 25.52 kB / 300.5 MB, free: 15.05 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.0001167/0.1376, allocations: 199 kB / 300.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.1376, allocations: 67.83 kB / 300.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008988/0.1385, allocations: 0.694 MB / 301.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1385, allocations: 7.469 kB / 301.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1385, allocations: 4.688 kB / 301.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1385, allocations: 5.578 kB / 301.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.1399, allocations: 1.319 MB / 302.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1399, allocations: 1.281 kB / 302.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.1401, allocations: 109.5 kB / 302.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/0.1407, allocations: 235 kB / 303.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.1407, allocations: 14.42 kB / 303.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.1422, allocations: 2.759 MB / 306 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1422, allocations: 1.312 kB / 306 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1432, allocations: 0.9397 MB / 306.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.1432, allocations: 57.67 kB / 306.9 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.1432, allocations: 11.88 kB / 307 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.1434, allocations: 27.88 kB / 307 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.1435, allocations: 60.14 kB / 307 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.1435, allocations: 21.19 kB / 307.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.1436, allocations: 209.7 kB / 307.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1436, allocations: 0 / 307.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004725/0.1441, allocations: 246.8 kB / 307.5 MB, free: 11.03 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.0001675/0.1442, allocations: 149.7 kB / 307.7 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.1449, allocations: 0.706 MB / 308.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1449, allocations: 0.8125 kB / 308.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.1452, allocations: 0.5204 MB / 308.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1455, allocations: 64.8 kB / 308.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1467, allocations: 1.052 MB / 310 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.084e-05/0.1468, allocations: 148.6 kB / 310.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.147, allocations: 73.03 kB / 310.2 MB, free: 9.648 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.147, allocations: 52.94 kB / 310.3 MB, free: 9.633 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.147, allocations: 0 / 310.3 MB, free: 9.633 MB / 266.7 MB Notification: Performance of Templates: time 0.008385/0.1554, allocations: 8.022 MB / 318.3 MB, free: 3.934 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.8486824478022754]