Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001459/0.001459, allocations: 88.28 kB / 20.96 MB, free: 3.441 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.001501/0.001501, allocations: 156.9 kB / 24.26 MB, free: 144 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.498/1.498, allocations: 177 MB / 204.4 MB, free: 5.629 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.184e-05, allocations: 9.125 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00829/0.008322, allocations: 3.401 MB / 275.6 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.01252, allocations: 1.394 MB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003366/0.01285, allocations: 8 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002852/0.01571, allocations: 0.7425 MB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.01733, allocations: 381.8 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.01917, allocations: 0.5175 MB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009508/0.02012, allocations: 473.8 kB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009626/0.02108, allocations: 357.9 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007638/0.02184, allocations: 303.3 kB / 279.7 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005221/0.02237, allocations: 203.4 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.02248, allocations: 40 kB / 280 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000663/0.02315, allocations: 207.7 kB / 280.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.02332, allocations: 115.5 kB / 280.3 MB, free: 9.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.02364, allocations: 159.6 kB / 280.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.02527, allocations: 0.7008 MB / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.02527, allocations: 0 / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.02528, allocations: 0 / 281.2 MB, free: 8.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.02529, allocations: 0 / 281.2 MB, free: 8.809 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003596/0.02889, allocations: 0.8407 MB / 282 MB, free: 7.934 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.02894, allocations: 11.98 kB / 282 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006566/0.0355, allocations: 0.578 MB / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007504/0.03625, allocations: 249.1 kB / 282.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/0.03633, allocations: 45.67 kB / 282.9 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.03649, allocations: 52.38 kB / 282.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.03824, allocations: 0.5436 MB / 283.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.428e-05/0.03828, allocations: 192 / 283.5 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.03838, allocations: 24.12 kB / 283.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.0384, allocations: 12 kB / 283.5 MB, free: 6.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.04032, allocations: 0.5634 MB / 284.1 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/0.04511, allocations: 1.513 MB / 285.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.04774, allocations: 0.5743 MB / 286.2 MB, free: 3.668 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.04835, allocations: 186.2 kB / 286.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.04848, allocations: 24.48 kB / 286.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.04853, allocations: 39.06 kB / 286.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.504e-06/0.04853, allocations: 0 / 286.4 MB, free: 3.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.003376/0.05191, allocations: 0.7317 MB / 287.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/0.05199, allocations: 63.91 kB / 287.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.05228, allocations: 166.2 kB / 287.4 MB, free: 2.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.05234, allocations: 37.7 kB / 287.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.05261, allocations: 228.9 kB / 287.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.05284, allocations: 166.6 kB / 287.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.05309, allocations: 90.14 kB / 287.9 MB, free: 1.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003328/0.05342, allocations: 330.8 kB / 288.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.05397, allocations: 152.9 kB / 288.3 MB, free: 1.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.05465, allocations: 228.2 kB / 288.6 MB, free: 1.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.05591, allocations: 400.8 kB / 289 MB, free: 0.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.05591, allocations: 0 / 289 MB, free: 0.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001937/0.05785, allocations: 0.5567 MB / 289.5 MB, free: 188 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.05787, allocations: 8 kB / 289.5 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.05788, allocations: 0 / 289.5 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007687/0.05865, allocations: 116.7 kB / 289.6 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1237/0.1823, allocations: 85.97 kB / 289.7 MB, free: 28.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.1844, allocations: 1.906 MB / 291.6 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.1848, allocations: 47.42 kB / 291.7 MB, free: 26.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.1849, allocations: 20.02 kB / 291.7 MB, free: 26.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.1851, allocations: 164.2 kB / 291.8 MB, free: 26.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1852, allocations: 39.52 kB / 291.9 MB, free: 26.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.1863, allocations: 0.5476 MB / 292.4 MB, free: 26.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.1863, allocations: 10.06 kB / 292.4 MB, free: 26.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1863, allocations: 1.062 kB / 292.4 MB, free: 26.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1864, allocations: 4.156 kB / 292.5 MB, free: 26.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.1879, allocations: 0.9705 MB / 293.4 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1879, allocations: 0 / 293.4 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.1883, allocations: 83.25 kB / 293.5 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.1887, allocations: 105.2 kB / 293.6 MB, free: 26.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.1887, allocations: 12.48 kB / 293.6 MB, free: 26.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.1903, allocations: 1.897 MB / 295.5 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1903, allocations: 1.094 kB / 295.5 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.1916, allocations: 0.8141 MB / 296.3 MB, free: 24.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.1917, allocations: 28.91 kB / 296.4 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.1917, allocations: 14.91 kB / 296.4 MB, free: 24.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.192, allocations: 23.41 kB / 296.4 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1921, allocations: 36.17 kB / 296.4 MB, free: 23.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.1921, allocations: 14.95 kB / 296.4 MB, free: 23.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.49e-05/0.1922, allocations: 124 kB / 296.6 MB, free: 23.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1922, allocations: 0 / 296.6 MB, free: 23.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006496/0.1928, allocations: 155.3 kB / 296.7 MB, free: 23.86 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 (42): * Single equations (assignments): 41 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000256/0.1931, allocations: 137.8 kB / 296.9 MB, free: 23.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.1941, allocations: 0.5475 MB / 297.4 MB, free: 23.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1941, allocations: 0 / 297.4 MB, free: 23.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.1947, allocations: 357.1 kB / 297.7 MB, free: 23.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.195, allocations: 39.02 kB / 297.8 MB, free: 23.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.1963, allocations: 0.7659 MB / 298.6 MB, free: 22.85 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.1965, allocations: 205 kB / 298.8 MB, free: 22.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000187/0.1967, allocations: 46.81 kB / 298.8 MB, free: 22.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1968, allocations: 36.89 kB / 298.8 MB, free: 22.73 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1968, allocations: 0 / 298.8 MB, free: 22.73 MB / 266.7 MB Notification: Performance of Templates: time 0.009987/0.2068, allocations: 4.338 MB / 303.2 MB, free: 21.95 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.481612154049799]