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.001455/0.001455, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001418/0.001418, allocations: 160.5 kB / 24.56 MB, free: 8 kB / 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.974/0.974, allocations: 177 MB / 204.8 MB, free: 5.172 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.633e-06/1.633e-06, allocations: 0 / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.146e-05, allocations: 5.266 kB / 272.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.008471/0.008502, allocations: 4.993 MB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.01114, allocations: 1.78 MB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.01152, allocations: 12 kB / 279.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.01309, allocations: 1.256 MB / 281 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.01419, allocations: 0.6138 MB / 281.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.01496, allocations: 0.5801 MB / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006997/0.01566, allocations: 0.7851 MB / 282.9 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008931/0.01656, allocations: 0.5159 MB / 283.5 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004621/0.01702, allocations: 486.8 kB / 283.9 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.01731, allocations: 335 kB / 284.3 MB, free: 5.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.01738, allocations: 60 kB / 284.3 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.01781, allocations: 247.6 kB / 284.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.0179, allocations: 171.3 kB / 284.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.01808, allocations: 263.3 kB / 285 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.01881, allocations: 0.7277 MB / 285.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01881, allocations: 0 / 285.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01881, allocations: 0 / 285.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.01882, allocations: 0 / 285.7 MB, free: 4.422 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.002243/0.02107, allocations: 1.436 MB / 287.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.02111, allocations: 11.98 kB / 287.2 MB, free: 2.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/0.02416, allocations: 0.9758 MB / 288.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.02461, allocations: 363.4 kB / 288.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.02465, allocations: 66.36 kB / 288.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.239e-05/0.02474, allocations: 76.38 kB / 288.6 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.02554, allocations: 0.6248 MB / 289.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.02556, allocations: 3.938 kB / 289.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.02561, allocations: 32 kB / 289.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.02562, allocations: 16 kB / 289.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.02635, allocations: 0.523 MB / 289.8 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1208/0.1471, allocations: 2.171 MB / 292 MB, free: 18.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.1484, allocations: 0.7621 MB / 292.8 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.1487, allocations: 198.3 kB / 293 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.1488, allocations: 33.7 kB / 293 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.1489, allocations: 50.33 kB / 293 MB, free: 18.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.826e-06/0.1489, allocations: 0 / 293 MB, free: 18.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.00204/0.1509, allocations: 1.001 MB / 294 MB, free: 18.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.1509, allocations: 60.61 kB / 294.1 MB, free: 17.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1511, allocations: 304 kB / 294.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.1512, allocations: 39.39 kB / 294.4 MB, free: 17.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1513, allocations: 349.4 kB / 294.8 MB, free: 17.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.1514, allocations: 267.9 kB / 295 MB, free: 17.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1516, allocations: 128.2 kB / 295.2 MB, free: 17.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.1517, allocations: 0.5225 MB / 295.7 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.1519, allocations: 136.4 kB / 295.8 MB, free: 16.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.1521, allocations: 300.2 kB / 296.1 MB, free: 16.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.1526, allocations: 491.6 kB / 296.6 MB, free: 16.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1526, allocations: 1.094 kB / 296.6 MB, free: 16.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009837/0.1536, allocations: 0.6768 MB / 297.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1536, allocations: 10.09 kB / 297.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.1536, allocations: 4.984 kB / 297.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006753/0.1543, allocations: 235.1 kB / 297.5 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.1546, allocations: 132.6 kB / 297.6 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.1565, allocations: 2.753 MB / 300.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.1567, allocations: 71.12 kB / 300.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.1568, allocations: 30.11 kB / 300.5 MB, free: 14.41 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.0001695/0.157, allocations: 194.8 kB / 300.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.157, allocations: 64.83 kB / 300.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009884/0.158, allocations: 0.6899 MB / 301.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.158, allocations: 10.95 kB / 301.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.158, allocations: 3.938 kB / 301.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.158, allocations: 3.094 kB / 301.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.1596, allocations: 1.322 MB / 302.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1596, allocations: 2.062 kB / 302.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.1599, allocations: 109.1 kB / 302.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005462/0.1604, allocations: 230.2 kB / 303.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.1604, allocations: 19.66 kB / 303.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00165/0.1621, allocations: 2.75 MB / 305.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1621, allocations: 1.094 kB / 305.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1632, allocations: 0.9386 MB / 306.8 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.1632, allocations: 56.48 kB / 306.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.1633, allocations: 16.34 kB / 306.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1634, allocations: 27.62 kB / 306.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.1635, allocations: 57.98 kB / 307 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.1635, allocations: 23.23 kB / 307 MB, free: 10.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.926e-05/0.1636, allocations: 206 kB / 307.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1636, allocations: 32 / 307.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005991/0.1642, allocations: 246.9 kB / 307.4 MB, free: 10.72 MB / 266.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.0002079/0.1645, allocations: 152.5 kB / 307.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007863/0.1652, allocations: 0.7108 MB / 308.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1652, allocations: 7.938 kB / 308.3 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.1656, allocations: 0.5103 MB / 308.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.1659, allocations: 64.95 kB / 308.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1673, allocations: 1.054 MB / 309.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.571e-05/0.1674, allocations: 146.6 kB / 310.1 MB, free: 9.367 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.1676, allocations: 76.34 kB / 310.1 MB, free: 9.344 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1677, allocations: 50.78 kB / 310.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1677, allocations: 0 / 310.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of Templates: time 0.009173/0.1769, allocations: 7.503 MB / 317.7 MB, free: 4.016 MB / 266.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: 3.1980626164004207]