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.001211/0.001211, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.0009809/0.0009809, allocations: 173.8 kB / 25.61 MB, free: 8.898 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.9988/0.9988, allocations: 177.1 MB / 206 MB, free: 4.5 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 2.044e-06/2.044e-06, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.744e-05, allocations: 5.406 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007078/0.007106, allocations: 4.874 MB / 279.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003933/0.01104, allocations: 1.769 MB / 280.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004499/0.01149, allocations: 12 kB / 280.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.01371, allocations: 1.213 MB / 282.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.01536, allocations: 0.6137 MB / 282.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.01655, allocations: 0.578 MB / 283.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.01769, allocations: 0.7813 MB / 284 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009321/0.01862, allocations: 0.5197 MB / 284.6 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/0.01943, allocations: 482.8 kB / 285 MB, free: 9.559 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005657/0.02, allocations: 339 kB / 285.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.02012, allocations: 64 kB / 285.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007191/0.02084, allocations: 239.7 kB / 285.7 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.02098, allocations: 175.2 kB / 285.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.02131, allocations: 259.3 kB / 286.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.02249, allocations: 0.7277 MB / 286.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.0225, allocations: 0 / 286.8 MB, free: 7.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.0225, allocations: 4 kB / 286.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.02251, allocations: 0 / 286.8 MB, free: 7.77 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.00355/0.02606, allocations: 1.439 MB / 288.3 MB, free: 6.289 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.02611, allocations: 8.031 kB / 288.3 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005401/0.03151, allocations: 0.9797 MB / 289.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.03236, allocations: 359.4 kB / 289.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.03242, allocations: 58.38 kB / 289.7 MB, free: 4.867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.03256, allocations: 72.38 kB / 289.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.03359, allocations: 0.5585 MB / 290.3 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.03363, allocations: 3.938 kB / 290.3 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.0337, allocations: 35.94 kB / 290.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.03372, allocations: 16 kB / 290.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007842/0.0345, allocations: 441.5 kB / 290.8 MB, free: 3.727 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003827/0.03833, allocations: 2.117 MB / 292.9 MB, free: 1.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.03967, allocations: 0.7067 MB / 293.6 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.03992, allocations: 171.4 kB / 293.8 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.752e-05/0.04002, allocations: 28.64 kB / 293.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.04006, allocations: 42.05 kB / 293.8 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.787e-06/0.04006, allocations: 0 / 293.8 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002206/0.04227, allocations: 0.9106 MB / 294.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.0423, allocations: 64.06 kB / 294.8 MB, free: 15.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.04256, allocations: 300.1 kB / 295.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.0426, allocations: 37.7 kB / 295.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.04281, allocations: 347.3 kB / 295.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.04301, allocations: 269.7 kB / 295.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.0432, allocations: 132.3 kB / 295.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.04339, allocations: 0.5273 MB / 296.4 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.04357, allocations: 101.9 kB / 296.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.04386, allocations: 274 kB / 296.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.04439, allocations: 424.4 kB / 297.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.0444, allocations: 8 kB / 297.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001051/0.04545, allocations: 0.6211 MB / 297.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.04547, allocations: 4 kB / 297.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.04548, allocations: 4 kB / 297.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007397/0.04622, allocations: 234 kB / 298 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.04659, allocations: 127.8 kB / 298.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.04943, allocations: 2.688 MB / 300.8 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.04974, allocations: 63.41 kB / 300.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.04978, allocations: 23.98 kB / 300.9 MB, free: 9.148 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.0002332/0.05002, allocations: 196.4 kB / 301.1 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.05013, allocations: 67.7 kB / 301.2 MB, free: 8.879 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.05122, allocations: 0.6268 MB / 301.8 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.05123, allocations: 8 kB / 301.8 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.05123, allocations: 0 / 301.8 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.05124, allocations: 11.98 kB / 301.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.05299, allocations: 1.183 MB / 303 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.05299, allocations: 0 / 303 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.05332, allocations: 107.9 kB / 303.1 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006624/0.05399, allocations: 225.8 kB / 303.3 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.05403, allocations: 23.92 kB / 303.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/0.05634, allocations: 2.666 MB / 306 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.05634, allocations: 0 / 306 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.05809, allocations: 0.8348 MB / 306.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.0582, allocations: 55.52 kB / 306.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.05826, allocations: 15.94 kB / 306.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.05854, allocations: 27.94 kB / 307 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.05869, allocations: 64.47 kB / 307 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.05873, allocations: 24.02 kB / 307.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.05886, allocations: 193.1 kB / 307.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05886, allocations: 0 / 307.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008167/0.05968, allocations: 243.5 kB / 307.5 MB, free: 2.398 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.0002778/0.05995, allocations: 143.2 kB / 307.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.06102, allocations: 0.6572 MB / 308.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.06103, allocations: 0 / 308.3 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005956/0.06162, allocations: 0.494 MB / 308.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.06205, allocations: 72.58 kB / 308.8 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.06404, allocations: 1.031 MB / 309.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.06416, allocations: 140.9 kB / 310 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002454/0.06441, allocations: 80.36 kB / 310.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.06465, allocations: 158.2 kB / 310.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of SimCode: time 1.312e-06/0.06465, allocations: 4 kB / 310.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Templates: time 0.01473/0.07938, allocations: 8.274 MB / 318.5 MB, free: 7.336 MB / 298.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.22360224975273]