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.00192/0.00192, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002275/0.002275, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.445/1.445, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.453e-06/1.453e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.928e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.00703/0.007059, allocations: 4.555 MB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.01111, allocations: 1.729 MB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005344/0.01164, allocations: 12 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.01471, allocations: 1.147 MB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.01659, allocations: 0.6254 MB / 280.3 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.01811, allocations: 0.5719 MB / 280.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001349/0.01945, allocations: 0.7813 MB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.02061, allocations: 0.5158 MB / 282.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000971/0.02158, allocations: 474.8 kB / 282.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.02219, allocations: 335 kB / 282.9 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.02236, allocations: 64 kB / 283 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006764/0.02303, allocations: 247.6 kB / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.02322, allocations: 171.3 kB / 283.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.02356, allocations: 251.3 kB / 283.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.02529, allocations: 1.055 MB / 284.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.0253, allocations: 0 / 284.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0253, allocations: 0 / 284.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.02531, allocations: 0 / 284.7 MB, free: 5.234 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.003885/0.02919, allocations: 1.316 MB / 286 MB, free: 3.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.02923, allocations: 11.98 kB / 286 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005913/0.03515, allocations: 0.9758 MB / 287 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.0359, allocations: 356.4 kB / 287.4 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.03598, allocations: 58.38 kB / 287.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.03613, allocations: 80.38 kB / 287.5 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.03778, allocations: 0.8234 MB / 288.3 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.03781, allocations: 15.92 kB / 288.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/0.0379, allocations: 28 kB / 288.4 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.03792, allocations: 20 kB / 288.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.03977, allocations: 0.8902 MB / 289.3 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/0.1576, allocations: 2.232 MB / 291.5 MB, free: 27.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.1593, allocations: 0.7665 MB / 292.3 MB, free: 27.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.1598, allocations: 286.7 kB / 292.6 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.1599, allocations: 37.77 kB / 292.6 MB, free: 26.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.16, allocations: 40.56 kB / 292.6 MB, free: 26.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 3.005e-06/0.16, allocations: 1.062 kB / 292.6 MB, free: 26.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003562/0.1635, allocations: 1.292 MB / 293.9 MB, free: 26.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1636, allocations: 59.14 kB / 294 MB, free: 26.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.1638, allocations: 253.1 kB / 294.2 MB, free: 26.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.1639, allocations: 44.89 kB / 294.3 MB, free: 26.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.164, allocations: 296.3 kB / 294.6 MB, free: 26.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.1642, allocations: 264.9 kB / 294.8 MB, free: 25.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.1643, allocations: 119.1 kB / 294.9 MB, free: 25.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.1644, allocations: 352.7 kB / 295.3 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004298/0.1648, allocations: 231.7 kB / 295.5 MB, free: 25.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.1653, allocations: 366.4 kB / 295.9 MB, free: 25.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/0.1663, allocations: 0.6312 MB / 296.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1663, allocations: 1.094 kB / 296.5 MB, free: 24.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001841/0.1682, allocations: 0.8961 MB / 297.4 MB, free: 24.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.1682, allocations: 6.359 kB / 297.4 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.1682, allocations: 4.188 kB / 297.4 MB, free: 24.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.1694, allocations: 267.2 kB / 297.7 MB, free: 24.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.17, allocations: 136.8 kB / 297.8 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.1729, allocations: 2.552 MB / 300.4 MB, free: 22.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.1733, allocations: 66.36 kB / 300.4 MB, free: 22.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.1733, allocations: 30.44 kB / 300.4 MB, free: 22.34 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.0002428/0.1736, allocations: 195.5 kB / 300.6 MB, free: 22.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1737, allocations: 65.61 kB / 300.7 MB, free: 22.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.1755, allocations: 0.9036 MB / 301.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1755, allocations: 7.688 kB / 301.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.1755, allocations: 4.469 kB / 301.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/0.1755, allocations: 4.031 kB / 301.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.178, allocations: 1.476 MB / 303.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.178, allocations: 0 / 303.1 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.1784, allocations: 110.2 kB / 303.2 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.1794, allocations: 266.2 kB / 303.5 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.1795, allocations: 18.8 kB / 303.5 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.182, allocations: 2.554 MB / 306 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1821, allocations: 3.938 kB / 306 MB, free: 18.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.184, allocations: 1.281 MB / 307.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.17e-05/0.184, allocations: 46.28 kB / 307.4 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.1841, allocations: 19.91 kB / 307.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.1844, allocations: 23.56 kB / 307.4 MB, free: 18.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.1846, allocations: 60.25 kB / 307.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.1846, allocations: 22.22 kB / 307.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1848, allocations: 182.4 kB / 307.7 MB, free: 18.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1848, allocations: 4.062 kB / 307.7 MB, free: 18.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007574/0.1855, allocations: 238.5 kB / 307.9 MB, free: 18.12 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.0002449/0.1858, allocations: 157.8 kB / 308.1 MB, free: 18.01 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.1871, allocations: 0.8079 MB / 308.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1871, allocations: 0 / 308.9 MB, free: 17.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.1878, allocations: 0.5125 MB / 309.4 MB, free: 17.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.1882, allocations: 62.58 kB / 309.4 MB, free: 17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.1897, allocations: 1.137 MB / 310.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.1899, allocations: 285.7 kB / 310.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.1902, allocations: 73.73 kB / 310.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1903, allocations: 48.48 kB / 311 MB, free: 15.52 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1903, allocations: 0 / 311 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Templates: time 0.01133/0.2016, allocations: 7.382 MB / 318.4 MB, free: 8.301 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.646447262959555]