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.0008558/0.0008558, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009113/0.0009113, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9453/0.9453, allocations: 177 MB / 204.8 MB, free: 5.594 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 9.31e-07/9.31e-07, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.402e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004025/0.004039, allocations: 4.993 MB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.006136, allocations: 1.776 MB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.006317, allocations: 12 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.007564, allocations: 1.252 MB / 281 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008639/0.008428, allocations: 0.6254 MB / 281.6 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.009119, allocations: 0.5791 MB / 282.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006113/0.009731, allocations: 0.7891 MB / 282.9 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.01025, allocations: 0.5158 MB / 283.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.01062, allocations: 486.7 kB / 283.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.01086, allocations: 331.1 kB / 284.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.01092, allocations: 64 kB / 284.3 MB, free: 6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.01124, allocations: 243.6 kB / 284.6 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.01132, allocations: 175.2 kB / 284.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.01147, allocations: 255.3 kB / 285 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.01204, allocations: 0.7277 MB / 285.7 MB, free: 4.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.01205, allocations: 4 kB / 285.7 MB, free: 4.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.01205, allocations: 0 / 285.7 MB, free: 4.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.01205, allocations: 0 / 285.7 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.001941/0.01399, allocations: 1.436 MB / 287.1 MB, free: 3.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.01402, allocations: 11.98 kB / 287.2 MB, free: 3.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003044/0.01706, allocations: 0.9797 MB / 288.1 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.01744, allocations: 359.4 kB / 288.5 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/0.01748, allocations: 62.38 kB / 288.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.01755, allocations: 80.38 kB / 288.6 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.01825, allocations: 0.6132 MB / 289.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.01827, allocations: 7.875 kB / 289.2 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.01832, allocations: 36 kB / 289.3 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.01833, allocations: 19.98 kB / 289.3 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.019, allocations: 0.5269 MB / 289.8 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0989/0.1179, allocations: 2.167 MB / 292 MB, free: 19.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.119, allocations: 0.76 MB / 292.8 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.1192, allocations: 202.3 kB / 293 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.1193, allocations: 33.64 kB / 293 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1193, allocations: 43.64 kB / 293 MB, free: 19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.936e-06/0.1193, allocations: 8.5 kB / 293 MB, free: 19 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001842/0.1212, allocations: 0.9981 MB / 294 MB, free: 18.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.1212, allocations: 67.23 kB / 294.1 MB, free: 18.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1214, allocations: 302.8 kB / 294.4 MB, free: 18.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1214, allocations: 38.67 kB / 294.4 MB, free: 18.63 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1215, allocations: 347.2 kB / 294.8 MB, free: 18.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1216, allocations: 263.2 kB / 295 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.1217, allocations: 131.1 kB / 295.2 MB, free: 18.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.1218, allocations: 0.5224 MB / 295.7 MB, free: 17.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.122, allocations: 135.9 kB / 295.8 MB, free: 17.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.1222, allocations: 302.4 kB / 296.1 MB, free: 17.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.1227, allocations: 486.9 kB / 296.6 MB, free: 17.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1227, allocations: 1.219 kB / 296.6 MB, free: 17.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008876/0.1236, allocations: 0.6833 MB / 297.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1236, allocations: 6.625 kB / 297.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1236, allocations: 3.469 kB / 297.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.1242, allocations: 240.1 kB / 297.5 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.1245, allocations: 127.4 kB / 297.6 MB, free: 17.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.1262, allocations: 2.754 MB / 300.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.1264, allocations: 64.02 kB / 300.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.1264, allocations: 26.16 kB / 300.5 MB, free: 15.27 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.0001208/0.1266, allocations: 197.8 kB / 300.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.1266, allocations: 66.47 kB / 300.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009006/0.1275, allocations: 0.6932 MB / 301.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1275, allocations: 8 kB / 301.4 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1275, allocations: 8.234 kB / 301.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1275, allocations: 3.562 kB / 301.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.1289, allocations: 1.316 MB / 302.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1289, allocations: 3.75 kB / 302.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.1291, allocations: 112.3 kB / 302.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005174/0.1296, allocations: 236 kB / 303.1 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.1297, allocations: 18.7 kB / 303.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.1311, allocations: 2.747 MB / 305.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1311, allocations: 0 / 305.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1321, allocations: 0.942 MB / 306.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.1322, allocations: 57.81 kB / 306.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1322, allocations: 10 kB / 306.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1324, allocations: 36.7 kB / 306.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.1324, allocations: 57.84 kB / 307 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.1325, allocations: 23.86 kB / 307 MB, free: 11.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.086e-05/0.1325, allocations: 204.6 kB / 307.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1325, allocations: 0 / 307.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004656/0.133, allocations: 245.7 kB / 307.4 MB, free: 11.2 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.0001798/0.1332, allocations: 150.2 kB / 307.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006812/0.1339, allocations: 0.7148 MB / 308.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1339, allocations: 0 / 308.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.1342, allocations: 0.5189 MB / 308.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1345, allocations: 66.47 kB / 308.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1357, allocations: 1.051 MB / 309.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.1358, allocations: 145.9 kB / 310.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.1359, allocations: 72.12 kB / 310.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.136, allocations: 56.72 kB / 310.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.136, allocations: 0 / 310.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of Templates: time 0.008554/0.1446, allocations: 8.015 MB / 318.2 MB, free: 3.938 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.8782706949859858]