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.001098/0.001098, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001577/0.002674, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001106/0.001106, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001399/0.002506, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9571/0.9571, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07676/1.034, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.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.393e-06/1.393e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.909e-06/1.13e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.004067/0.004078, allocations: 4.962 MB / 250 MB, free: 8.648 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.006727, allocations: 1.845 MB / 251.8 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.006951, allocations: 23.94 kB / 251.8 MB, free: 6.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.008195, allocations: 1.248 MB / 253.1 MB, free: 5.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008787/0.009073, allocations: 0.6136 MB / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006727/0.009746, allocations: 0.5799 MB / 254.3 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005864/0.01033, allocations: 0.7813 MB / 255.1 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007871/0.01112, allocations: 0.5179 MB / 255.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.01155, allocations: 0.4959 MB / 256.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.01182, allocations: 343 kB / 256.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.01188, allocations: 64 kB / 256.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.01226, allocations: 255.6 kB / 256.7 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.01232, allocations: 115.6 kB / 256.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.01247, allocations: 207.6 kB / 257 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.01305, allocations: 0.681 MB / 257.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.01307, allocations: 0 / 257.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01307, allocations: 4 kB / 257.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.01309, allocations: 0 / 257.7 MB, free: 0.8672 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.00209/0.01518, allocations: 1.597 MB / 259.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.01521, allocations: 8.031 kB / 259.3 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.01812, allocations: 1.097 MB / 260.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.01845, allocations: 244.8 kB / 260.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.01848, allocations: 58.38 kB / 260.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.667e-05/0.01856, allocations: 84.33 kB / 260.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.0191, allocations: 0.5584 MB / 261.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.01912, allocations: 3.938 kB / 261.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.01917, allocations: 36 kB / 261.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.01918, allocations: 16 kB / 261.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.01958, allocations: 381.6 kB / 261.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.02168, allocations: 1.752 MB / 263.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/0.02249, allocations: 0.6438 MB / 264.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.02263, allocations: 147.2 kB / 264.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.342e-05/0.0227, allocations: 24.64 kB / 264.4 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.02273, allocations: 47.2 kB / 264.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.234e-06/0.02273, allocations: 4 kB / 264.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001295/0.02403, allocations: 0.7674 MB / 265.2 MB, free: 9.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.02406, allocations: 64.06 kB / 265.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.02418, allocations: 228.9 kB / 265.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.02421, allocations: 41.7 kB / 265.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.02431, allocations: 288.6 kB / 265.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.02442, allocations: 261.7 kB / 266 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.02453, allocations: 122.6 kB / 266.2 MB, free: 8.184 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.02461, allocations: 362.7 kB / 266.5 MB, free: 7.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.0247, allocations: 77.97 kB / 266.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.02484, allocations: 210.5 kB / 266.8 MB, free: 7.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/0.02513, allocations: 372.7 kB / 267.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.02513, allocations: 0 / 267.2 MB, free: 7.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005349/0.02567, allocations: 497.4 kB / 267.6 MB, free: 6.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.02568, allocations: 4 kB / 267.6 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.02569, allocations: 4 kB / 267.7 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005323/0.02623, allocations: 216.9 kB / 267.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.02651, allocations: 159.7 kB / 268 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.02815, allocations: 1.941 MB / 270 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.02831, allocations: 59.58 kB / 270 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.02833, allocations: 19.98 kB / 270 MB, free: 4.121 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.0001248/0.02846, allocations: 161.6 kB / 270.2 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.02851, allocations: 43.97 kB / 270.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/0.02912, allocations: 0.5224 MB / 270.8 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.02913, allocations: 8 kB / 270.8 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.02913, allocations: 4 kB / 270.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.02914, allocations: 3.984 kB / 270.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.03011, allocations: 0.8839 MB / 271.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.03011, allocations: 3.984 kB / 271.7 MB, free: 2.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.03037, allocations: 123.8 kB / 271.8 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.0304, allocations: 51.53 kB / 271.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.03088, allocations: 212.6 kB / 272 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.03091, allocations: 19.92 kB / 272.1 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.03229, allocations: 1.91 MB / 274 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.03229, allocations: 4 kB / 274 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.03295, allocations: 0.6679 MB / 274.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.03298, allocations: 12 kB / 274.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.03312, allocations: 23.98 kB / 274.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.03319, allocations: 64.42 kB / 274.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.03321, allocations: 15.98 kB / 274.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.169e-05/0.03326, allocations: 74.78 kB / 274.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03326, allocations: 0 / 274.8 MB, free: 15.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004293/0.03369, allocations: 239.5 kB / 275.1 MB, free: 14.94 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.0001811/0.03387, allocations: 140.3 kB / 275.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.0344, allocations: 0.5499 MB / 275.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/0.03441, allocations: 8.188 kB / 275.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.03472, allocations: 419.8 kB / 276.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.03498, allocations: 100.4 kB / 276.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/0.04037, allocations: 1.073 MB / 277.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.171e-05/0.04046, allocations: 144.9 kB / 277.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001642/0.04062, allocations: 80.42 kB / 277.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.04079, allocations: 131.3 kB / 277.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04079, allocations: 0 / 277.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of Templates: time 0.01024/0.05103, allocations: 8.175 MB / 285.9 MB, free: 4.109 MB / 282.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 -ignoreHideResult -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.7223267974331975]