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.0007509/0.0007509, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001819, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006896/0.0006896, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000827/0.001517, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9338/0.9338, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07913/1.013, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.583e-06/1.583e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.344e-05, allocations: 9.344 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004103/0.004116, allocations: 4.962 MB / 249.5 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.006232, allocations: 1.849 MB / 251.3 MB, free: 7.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.006406, allocations: 15.94 kB / 251.4 MB, free: 7.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.007588, allocations: 1.252 MB / 252.6 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007558/0.008344, allocations: 0.6136 MB / 253.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.00896, allocations: 0.5719 MB / 253.8 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005485/0.009509, allocations: 0.7891 MB / 254.6 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/0.01003, allocations: 0.5179 MB / 255.1 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.01045, allocations: 0.4955 MB / 255.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.01071, allocations: 339.1 kB / 255.9 MB, free: 2.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.01077, allocations: 64 kB / 256 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.0111, allocations: 255.6 kB / 256.2 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.01117, allocations: 119.6 kB / 256.4 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.01132, allocations: 199.6 kB / 256.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005641/0.01188, allocations: 0.681 MB / 257.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/0.0119, allocations: 0 / 257.2 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0119, allocations: 4 kB / 257.2 MB, free: 1.559 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.01192, allocations: 4 kB / 257.2 MB, free: 1.555 MB / 250.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.002335/0.01425, allocations: 1.597 MB / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.01429, allocations: 8.031 kB / 258.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.01726, allocations: 1.101 MB / 259.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.01758, allocations: 236.8 kB / 260.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.01762, allocations: 58.38 kB / 260.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.662e-05/0.0177, allocations: 84.33 kB / 260.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.01824, allocations: 0.5662 MB / 260.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.01826, allocations: 3.938 kB / 260.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.0183, allocations: 36 kB / 260.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.01831, allocations: 19.94 kB / 260.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.0187, allocations: 373.7 kB / 261.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.02053, allocations: 1.752 MB / 263.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007753/0.0213, allocations: 0.6437 MB / 263.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.02144, allocations: 143.2 kB / 263.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.196e-05/0.0215, allocations: 28.62 kB / 263.9 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.02152, allocations: 43.22 kB / 263.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.014e-06/0.02152, allocations: 0 / 263.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.00127/0.02279, allocations: 0.783 MB / 264.7 MB, free: 9.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.02282, allocations: 64.06 kB / 264.8 MB, free: 9.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.02296, allocations: 228.9 kB / 265 MB, free: 9.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.02299, allocations: 41.7 kB / 265 MB, free: 9.535 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.0231, allocations: 284.6 kB / 265.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.02323, allocations: 261.7 kB / 265.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003678/0.0236, allocations: 126.5 kB / 265.7 MB, free: 8.863 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.02368, allocations: 354.7 kB / 266 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.773e-05/0.02377, allocations: 77.97 kB / 266.1 MB, free: 8.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.02391, allocations: 218.5 kB / 266.3 MB, free: 8.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.02421, allocations: 372.7 kB / 266.7 MB, free: 7.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02421, allocations: 0 / 266.7 MB, free: 7.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005334/0.02474, allocations: 0.4897 MB / 267.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.02476, allocations: 4 kB / 267.2 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.02477, allocations: 4 kB / 267.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004882/0.02525, allocations: 216.9 kB / 267.4 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.02553, allocations: 147.8 kB / 267.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.02694, allocations: 1.938 MB / 269.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.02709, allocations: 59.58 kB / 269.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.02712, allocations: 19.98 kB / 269.5 MB, free: 4.805 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.0001139/0.02724, allocations: 153.7 kB / 269.7 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.02729, allocations: 47.95 kB / 269.7 MB, free: 4.598 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.02788, allocations: 0.5186 MB / 270.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.02788, allocations: 8 kB / 270.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.02788, allocations: 4 kB / 270.3 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.02789, allocations: 7.984 kB / 270.3 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/0.02881, allocations: 0.8916 MB / 271.2 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02881, allocations: 0 / 271.2 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.02905, allocations: 119.9 kB / 271.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.209e-05/0.02909, allocations: 59.52 kB / 271.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.02951, allocations: 215.7 kB / 271.6 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.02953, allocations: 15.94 kB / 271.6 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.03104, allocations: 1.903 MB / 273.5 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03104, allocations: 4 kB / 273.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.03168, allocations: 0.6679 MB / 274.1 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.03171, allocations: 12 kB / 274.2 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.03184, allocations: 31.95 kB / 274.2 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.03192, allocations: 64.47 kB / 274.3 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.03194, allocations: 15.94 kB / 274.3 MB, free: 15.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.147e-05/0.03199, allocations: 74.78 kB / 274.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03199, allocations: 0 / 274.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003989/0.03239, allocations: 243.5 kB / 274.6 MB, free: 15.61 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.0001691/0.03256, allocations: 132.3 kB / 274.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.03309, allocations: 0.5572 MB / 275.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.0331, allocations: 11.98 kB / 275.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.0334, allocations: 412.7 kB / 275.7 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.03364, allocations: 96.45 kB / 275.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/0.03858, allocations: 1.068 MB / 276.8 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.488e-05/0.03867, allocations: 148.9 kB / 277 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.03883, allocations: 76.36 kB / 277.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.03899, allocations: 123.3 kB / 277.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.03899, allocations: 4 kB / 277.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of Templates: time 0.01001/0.049, allocations: 8.178 MB / 285.4 MB, free: 4.809 MB / 282.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 -ignoreHideResult -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.685317819006741]