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.0008097/0.0008097, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.001893, allocations: 457.8 kB / 10.45 MB, free: 244 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.0007096/0.0007096, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009285/0.001638, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9606/0.9606, allocations: 177.5 MB / 190.1 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08954/1.05, allocations: 53.86 MB / 243.9 MB, free: 14.86 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.403e-06/1.403e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.351e-05, allocations: 5.406 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.00639/0.006413, allocations: 4.962 MB / 250.2 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.008943, allocations: 1.845 MB / 252 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.009222, allocations: 15.94 kB / 252 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.01053, allocations: 1.244 MB / 253.3 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009949/0.01153, allocations: 0.6253 MB / 253.9 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.01227, allocations: 0.5761 MB / 254.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.01296, allocations: 0.7813 MB / 255.3 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/0.01348, allocations: 0.514 MB / 255.8 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004566/0.01393, allocations: 0.5037 MB / 256.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002864/0.01422, allocations: 335.1 kB / 256.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.01429, allocations: 71.94 kB / 256.7 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.01475, allocations: 255.7 kB / 256.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.01482, allocations: 119.6 kB / 257 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.01518, allocations: 207.6 kB / 257.2 MB, free: 1.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.01583, allocations: 0.6692 MB / 257.9 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.01584, allocations: 0 / 257.9 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01584, allocations: 0 / 257.9 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.01585, allocations: 0 / 257.9 MB, free: 0.8086 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.002105/0.01795, allocations: 1.604 MB / 259.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.01799, allocations: 12.03 kB / 259.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.0209, allocations: 1.093 MB / 260.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.02125, allocations: 236.8 kB / 260.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.02129, allocations: 58.38 kB / 260.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.091e-05/0.02137, allocations: 80.33 kB / 261 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005678/0.02194, allocations: 0.5623 MB / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.02196, allocations: 7.875 kB / 261.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.02201, allocations: 32 kB / 261.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.02202, allocations: 20 kB / 261.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.02243, allocations: 377.7 kB / 262 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.02447, allocations: 1.764 MB / 263.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.02549, allocations: 0.636 MB / 264.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.02563, allocations: 147.2 kB / 264.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.497e-05/0.0257, allocations: 36.62 kB / 264.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.02573, allocations: 39.22 kB / 264.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.454e-06/0.02573, allocations: 0 / 264.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.001271/0.027, allocations: 0.7752 MB / 265.4 MB, free: 9.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.02702, allocations: 60.06 kB / 265.4 MB, free: 9.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.02716, allocations: 228.9 kB / 265.7 MB, free: 8.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.0272, allocations: 37.7 kB / 265.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.02731, allocations: 292.6 kB / 266 MB, free: 8.496 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.02743, allocations: 265.7 kB / 266.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.02754, allocations: 126.6 kB / 266.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.02762, allocations: 350.7 kB / 266.7 MB, free: 7.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.979e-05/0.02771, allocations: 85.95 kB / 266.8 MB, free: 7.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.02786, allocations: 210.5 kB / 267 MB, free: 7.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.02816, allocations: 372.1 kB / 267.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.02817, allocations: 0 / 267.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0005232/0.02869, allocations: 497.4 kB / 267.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.02871, allocations: 4.375 kB / 267.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.02872, allocations: 8 kB / 267.9 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/0.02921, allocations: 223.5 kB / 268.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.02948, allocations: 151.8 kB / 268.2 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.03086, allocations: 1.938 MB / 270.2 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.03103, allocations: 55.58 kB / 270.2 MB, free: 4.074 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.03105, allocations: 27.98 kB / 270.2 MB, free: 4.047 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.0001331/0.03119, allocations: 145.7 kB / 270.4 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.03124, allocations: 47.97 kB / 270.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/0.03183, allocations: 0.5224 MB / 271 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.03183, allocations: 8 kB / 271 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.03184, allocations: 4 kB / 271 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.03184, allocations: 3.984 kB / 271 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.03304, allocations: 0.8878 MB / 271.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03304, allocations: 4 kB / 271.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.03328, allocations: 127.8 kB / 272 MB, free: 2.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.03332, allocations: 55.52 kB / 272 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.03375, allocations: 230.8 kB / 272.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.03377, allocations: 15.94 kB / 272.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.03502, allocations: 1.907 MB / 274.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.03502, allocations: 0 / 274.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/0.03567, allocations: 0.6718 MB / 274.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.03571, allocations: 16 kB / 274.9 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.03584, allocations: 23.98 kB / 274.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.03591, allocations: 60.47 kB / 275 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.03594, allocations: 20.03 kB / 275 MB, free: 15.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.563e-05/0.03599, allocations: 74.78 kB / 275 MB, free: 15.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03599, allocations: 0 / 275 MB, free: 15.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004856/0.03648, allocations: 243.5 kB / 275.3 MB, free: 14.84 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.0001911/0.03667, allocations: 128.3 kB / 275.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005926/0.03726, allocations: 0.5586 MB / 276 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.03728, allocations: 11.94 kB / 276 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.03763, allocations: 453.2 kB / 276.4 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.03798, allocations: 392.3 kB / 276.8 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005118/0.0431, allocations: 1.057 MB / 277.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.961e-05/0.0432, allocations: 148.9 kB / 278 MB, free: 11.97 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.04338, allocations: 76.38 kB / 278.1 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.04355, allocations: 135.3 kB / 278.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04355, allocations: 7.938 kB / 278.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of Templates: time 0.01055/0.0541, allocations: 8.166 MB / 286.4 MB, free: 3.656 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7686768332496285]