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.0009151/0.0009151, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009202/0.0009202, allocations: 166.6 kB / 24.99 MB, free: 8.746 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.625 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.062e-06/1.062e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.446e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004293/0.004307, allocations: 4.98 MB / 278 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.006928, allocations: 1.764 MB / 279.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.007204, allocations: 12 kB / 279.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.00869, allocations: 1.252 MB / 281.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009445/0.009635, allocations: 0.6215 MB / 281.7 MB, free: 9.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007099/0.01034, allocations: 0.5926 MB / 282.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.011, allocations: 0.7813 MB / 283.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.01155, allocations: 0.5158 MB / 283.6 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003902/0.01194, allocations: 486.8 kB / 284.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.0122, allocations: 327.1 kB / 284.4 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.207e-05/0.01227, allocations: 64 kB / 284.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003394/0.01261, allocations: 247.6 kB / 284.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.985e-05/0.01269, allocations: 175.2 kB / 284.8 MB, free: 6.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.01287, allocations: 255.3 kB / 285.1 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.01351, allocations: 0.7355 MB / 285.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01352, allocations: 0 / 285.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01352, allocations: 0 / 285.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01352, allocations: 0 / 285.8 MB, free: 5.016 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.002235/0.01576, allocations: 1.428 MB / 287.3 MB, free: 3.547 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.01579, allocations: 12.03 kB / 287.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.01933, allocations: 0.9797 MB / 288.3 MB, free: 2.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.01971, allocations: 355.4 kB / 288.6 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.01975, allocations: 58.38 kB / 288.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/0.01983, allocations: 80.38 kB / 288.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.02058, allocations: 0.6171 MB / 289.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.0206, allocations: 3.938 kB / 289.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.016e-05/0.02065, allocations: 36 kB / 289.4 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.02066, allocations: 20 kB / 289.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/0.02138, allocations: 0.523 MB / 289.9 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1078/0.1292, allocations: 2.175 MB / 292.1 MB, free: 27.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.1303, allocations: 0.7628 MB / 292.9 MB, free: 27.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.1306, allocations: 203 kB / 293.1 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.744e-05/0.1307, allocations: 33.78 kB / 293.1 MB, free: 27.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1307, allocations: 48.12 kB / 293.1 MB, free: 27.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.565e-06/0.1307, allocations: 0 / 293.1 MB, free: 27.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002041/0.1328, allocations: 1.003 MB / 294.2 MB, free: 27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.1328, allocations: 64.8 kB / 294.2 MB, free: 26.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.133, allocations: 299.4 kB / 294.5 MB, free: 26.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.133, allocations: 41.08 kB / 294.5 MB, free: 26.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1332, allocations: 348.8 kB / 294.9 MB, free: 26.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1333, allocations: 261.1 kB / 295.1 MB, free: 26.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.1334, allocations: 141.1 kB / 295.3 MB, free: 26.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.1335, allocations: 0.5197 MB / 295.8 MB, free: 25.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.1337, allocations: 133 kB / 295.9 MB, free: 25.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.134, allocations: 301.7 kB / 296.2 MB, free: 25.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.1345, allocations: 486.2 kB / 296.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.1345, allocations: 4.156 kB / 296.7 MB, free: 25.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001098/0.1356, allocations: 0.6723 MB / 297.4 MB, free: 24.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1356, allocations: 11.09 kB / 297.4 MB, free: 24.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.1357, allocations: 6.938 kB / 297.4 MB, free: 24.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007635/0.1364, allocations: 240.2 kB / 297.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.1367, allocations: 133.6 kB / 297.8 MB, free: 24.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.1389, allocations: 2.745 MB / 300.5 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.1391, allocations: 59.45 kB / 300.6 MB, free: 22.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.1392, allocations: 39.3 kB / 300.6 MB, free: 22.55 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.0001685/0.1393, allocations: 197.1 kB / 300.8 MB, free: 22.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.1394, allocations: 67.19 kB / 300.9 MB, free: 22.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.1404, allocations: 0.6926 MB / 301.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1404, allocations: 7.453 kB / 301.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1404, allocations: 2.781 kB / 301.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1405, allocations: 5.5 kB / 301.6 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.142, allocations: 1.317 MB / 302.9 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.142, allocations: 0 / 302.9 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.1422, allocations: 111.2 kB / 303 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005704/0.1428, allocations: 233.6 kB / 303.2 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.1428, allocations: 15.42 kB / 303.2 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.1444, allocations: 2.752 MB / 306 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1444, allocations: 5.297 kB / 306 MB, free: 19.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1455, allocations: 0.9445 MB / 306.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.1456, allocations: 49.22 kB / 307 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.1456, allocations: 11.47 kB / 307 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1458, allocations: 26.83 kB / 307 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.1459, allocations: 61.34 kB / 307.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.1459, allocations: 26.08 kB / 307.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.926e-05/0.146, allocations: 204.3 kB / 307.3 MB, free: 18.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.146, allocations: 0 / 307.3 MB, free: 18.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005194/0.1465, allocations: 242.2 kB / 307.5 MB, free: 18.38 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.0002014/0.1467, allocations: 164.5 kB / 307.7 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007226/0.1474, allocations: 0.7063 MB / 308.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1474, allocations: 0.8125 kB / 308.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.1478, allocations: 0.5235 MB / 308.9 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.1481, allocations: 57.19 kB / 309 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1494, allocations: 1.067 MB / 310.1 MB, free: 17.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.866e-05/0.1495, allocations: 144.7 kB / 310.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.1496, allocations: 76.41 kB / 310.3 MB, free: 16.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.1497, allocations: 53.14 kB / 310.3 MB, free: 16.94 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1497, allocations: 0 / 310.3 MB, free: 16.94 MB / 266.7 MB Notification: Performance of Templates: time 0.008546/0.1583, allocations: 7.487 MB / 317.8 MB, free: 9.766 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: 3.0423568619880825]