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.002266/0.002266, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002787/0.002787, allocations: 156.8 kB / 24.27 MB, free: 156 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.589/1.589, allocations: 177 MB / 204.4 MB, free: 5.602 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.783e-06/1.783e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.148e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007471/0.007502, allocations: 4.937 MB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.01111, allocations: 1.772 MB / 278.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.01139, allocations: 15.94 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003026/0.01441, allocations: 1.24 MB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.01596, allocations: 0.6215 MB / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.01729, allocations: 0.5878 MB / 281.4 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.01854, allocations: 0.7774 MB / 282.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009827/0.01952, allocations: 0.5197 MB / 282.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006763/0.0202, allocations: 482.8 kB / 283.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.02068, allocations: 335 kB / 283.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.02079, allocations: 64 kB / 283.5 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006084/0.02139, allocations: 255.6 kB / 283.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.02156, allocations: 167.3 kB / 283.9 MB, free: 5.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.02188, allocations: 259.3 kB / 284.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.02332, allocations: 1.051 MB / 285.3 MB, free: 4.676 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.02332, allocations: 0 / 285.3 MB, free: 4.676 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02333, allocations: 0 / 285.3 MB, free: 4.676 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.02333, allocations: 0 / 285.3 MB, free: 4.676 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.004002/0.02734, allocations: 1.474 MB / 286.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.02738, allocations: 11.98 kB / 286.7 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007265/0.03465, allocations: 0.9875 MB / 287.7 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.03568, allocations: 355.5 kB / 288.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.03577, allocations: 58.38 kB / 288.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.03598, allocations: 76.38 kB / 288.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.03847, allocations: 0.7922 MB / 289 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.03851, allocations: 15.92 kB / 289 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.03863, allocations: 28 kB / 289 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.03866, allocations: 20 kB / 289.1 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1212/0.1599, allocations: 0.8662 MB / 289.9 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.1639, allocations: 2.504 MB / 292.4 MB, free: 27.09 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.1657, allocations: 0.783 MB / 293.2 MB, free: 26.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/0.1661, allocations: 297.7 kB / 293.5 MB, free: 26.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.1663, allocations: 34.91 kB / 293.5 MB, free: 26.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1663, allocations: 45.97 kB / 293.6 MB, free: 26.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.495e-06/0.1663, allocations: 1.938 kB / 293.6 MB, free: 26.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003515/0.1698, allocations: 1.258 MB / 294.8 MB, free: 26.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.1698, allocations: 60.39 kB / 294.9 MB, free: 26.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1701, allocations: 347.2 kB / 295.2 MB, free: 26.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.1701, allocations: 37.42 kB / 295.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1703, allocations: 362.3 kB / 295.6 MB, free: 25.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.1704, allocations: 272.4 kB / 295.9 MB, free: 25.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.1706, allocations: 149.2 kB / 296 MB, free: 25.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1707, allocations: 0.5357 MB / 296.6 MB, free: 24.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.1711, allocations: 225 kB / 296.8 MB, free: 24.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.1716, allocations: 400.7 kB / 297.2 MB, free: 24.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009723/0.1726, allocations: 0.6733 MB / 297.9 MB, free: 24.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1726, allocations: 1.781 kB / 297.9 MB, free: 24.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001697/0.1743, allocations: 0.886 MB / 298.8 MB, free: 23.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1743, allocations: 7.812 kB / 298.8 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1743, allocations: 2.688 kB / 298.8 MB, free: 23.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.1754, allocations: 281.2 kB / 299 MB, free: 23.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.1759, allocations: 129.7 kB / 299.2 MB, free: 23.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.1789, allocations: 3.21 MB / 302.4 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.1793, allocations: 59.91 kB / 302.4 MB, free: 21.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.1793, allocations: 27.08 kB / 302.5 MB, free: 21.13 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.0002613/0.1796, allocations: 248 kB / 302.7 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.1797, allocations: 70.7 kB / 302.8 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.1814, allocations: 0.8707 MB / 303.6 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.1814, allocations: 8.812 kB / 303.6 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.1814, allocations: 3.312 kB / 303.7 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.1815, allocations: 4.5 kB / 303.7 MB, free: 20.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.1839, allocations: 1.625 MB / 305.3 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1839, allocations: 0.6562 kB / 305.3 MB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.1843, allocations: 109.6 kB / 305.4 MB, free: 19.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009707/0.1853, allocations: 279 kB / 305.7 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.1853, allocations: 20.91 kB / 305.7 MB, free: 19.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/0.1879, allocations: 3.209 MB / 308.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1879, allocations: 0 / 308.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.1898, allocations: 1.283 MB / 310.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1898, allocations: 55.02 kB / 310.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.1899, allocations: 16 kB / 310.2 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.1902, allocations: 24.03 kB / 310.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1903, allocations: 54.89 kB / 310.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.1904, allocations: 27.66 kB / 310.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1905, allocations: 230.2 kB / 310.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1905, allocations: 0 / 310.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007042/0.1912, allocations: 239.5 kB / 310.8 MB, free: 15.48 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.0002193/0.1914, allocations: 159 kB / 311 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.1927, allocations: 0.902 MB / 311.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1927, allocations: 3.938 kB / 311.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.1934, allocations: 0.6062 MB / 312.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1938, allocations: 62.53 kB / 312.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.1952, allocations: 1.142 MB / 313.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.1954, allocations: 288.5 kB / 314 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002414/0.1956, allocations: 74.64 kB / 314 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.1957, allocations: 52.47 kB / 314.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1957, allocations: 0 / 314.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Templates: time 0.01154/0.2073, allocations: 7.497 MB / 321.6 MB, free: 5.02 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","/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.815491219982505]