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.001532/0.001532, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001611/0.001611, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 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.8951/0.8951, allocations: 177 MB / 205.9 MB, free: 4.461 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 1.273e-06/1.273e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.424e-05, allocations: 2.906 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.00528/0.005294, allocations: 4.884 MB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.007853, allocations: 1.774 MB / 280.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.008097, allocations: 12 kB / 280.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.00979, allocations: 1.217 MB / 282 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009132/0.0107, allocations: 0.6059 MB / 282.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.01133, allocations: 0.5886 MB / 283.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.01186, allocations: 0.7889 MB / 284 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.01235, allocations: 0.5119 MB / 284.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.01273, allocations: 490.7 kB / 285 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.01301, allocations: 327.1 kB / 285.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.435e-05/0.01308, allocations: 68 kB / 285.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.0134, allocations: 251.6 kB / 285.6 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.162e-05/0.01349, allocations: 171.3 kB / 285.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.01365, allocations: 251.3 kB / 286 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.01432, allocations: 0.7316 MB / 286.8 MB, free: 7.625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01432, allocations: 4 kB / 286.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01432, allocations: 0 / 286.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.01433, allocations: 0 / 286.8 MB, free: 7.621 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.00201/0.01634, allocations: 1.443 MB / 288.2 MB, free: 6.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.01637, allocations: 8.031 kB / 288.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.01933, allocations: 0.9836 MB / 289.2 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.01967, allocations: 351.5 kB / 289.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.0197, allocations: 62.38 kB / 289.6 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/0.01978, allocations: 76.38 kB / 289.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.02033, allocations: 0.5506 MB / 290.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.02035, allocations: 3.938 kB / 290.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.0204, allocations: 32 kB / 290.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.02041, allocations: 24 kB / 290.3 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004638/0.02087, allocations: 437.5 kB / 290.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.02293, allocations: 2.11 MB / 292.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.02379, allocations: 0.7184 MB / 293.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.02395, allocations: 170 kB / 293.7 MB, free: 0.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/0.02402, allocations: 32.62 kB / 293.7 MB, free: 480 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.02404, allocations: 42.05 kB / 293.8 MB, free: 428 kB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.003e-06/0.02404, allocations: 0 / 293.8 MB, free: 428 kB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001547/0.02559, allocations: 0.9027 MB / 294.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.02561, allocations: 64.05 kB / 294.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.02577, allocations: 304.1 kB / 295 MB, free: 15.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.0258, allocations: 33.7 kB / 295.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.02593, allocations: 347.4 kB / 295.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.02606, allocations: 273.7 kB / 295.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.02619, allocations: 136.2 kB / 295.8 MB, free: 14.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.02632, allocations: 0.5273 MB / 296.3 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.02643, allocations: 101.9 kB / 296.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.02662, allocations: 274 kB / 296.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.02697, allocations: 424.4 kB / 297.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.02698, allocations: 4 kB / 297.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0007201/0.0277, allocations: 0.6175 MB / 297.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.02771, allocations: 4 kB / 297.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.02772, allocations: 8 kB / 297.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.02825, allocations: 234.2 kB / 298 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.0285, allocations: 127.8 kB / 298.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.03025, allocations: 2.676 MB / 300.8 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.03043, allocations: 67.56 kB / 300.8 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.03046, allocations: 24 kB / 300.9 MB, free: 9.004 MB / 282.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.0001358/0.03059, allocations: 192.4 kB / 301.1 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.03067, allocations: 71.7 kB / 301.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.03143, allocations: 0.6307 MB / 301.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.03144, allocations: 8 kB / 301.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.03144, allocations: 0 / 301.8 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.03145, allocations: 7.984 kB / 301.8 MB, free: 8.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.03262, allocations: 1.179 MB / 302.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.03263, allocations: 0 / 302.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.03286, allocations: 107.9 kB / 303.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004752/0.03333, allocations: 226.4 kB / 303.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.03336, allocations: 15.94 kB / 303.3 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.03496, allocations: 2.681 MB / 306 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03496, allocations: 0 / 306 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008386/0.0358, allocations: 0.8387 MB / 306.8 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/0.03583, allocations: 47.53 kB / 306.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.03587, allocations: 16 kB / 306.9 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.03603, allocations: 31.86 kB / 306.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/0.0361, allocations: 56.55 kB / 307 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.03613, allocations: 23.98 kB / 307 MB, free: 2.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.767e-05/0.03621, allocations: 193.1 kB / 307.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03621, allocations: 0 / 307.2 MB, free: 2.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004767/0.03669, allocations: 251.5 kB / 307.4 MB, free: 2.25 MB / 282.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.000174/0.03686, allocations: 143.2 kB / 307.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.0375, allocations: 0.6533 MB / 308.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.03751, allocations: 0 / 308.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003844/0.03789, allocations: 0.494 MB / 308.7 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.03818, allocations: 56.66 kB / 308.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.03943, allocations: 1.043 MB / 309.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.541e-05/0.03952, allocations: 144.9 kB / 309.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.03969, allocations: 72.38 kB / 310 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.03987, allocations: 154.2 kB / 310.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of SimCode: time 5.72e-07/0.03987, allocations: 0 / 310.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of Templates: time 0.01025/0.05012, allocations: 8.301 MB / 318.5 MB, free: 7.188 MB / 298.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.974622383248061]