Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001322/0.001322, allocations: 117.2 kB / 18.45 MB, free: 4.613 MB / 14.72 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.001444/0.001444, allocations: 202.6 kB / 21.4 MB, free: 1.668 MB / 14.72 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.469/1.469, allocations: 227.4 MB / 251.6 MB, free: 80 kB / 190.1 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.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.88 kB / 365.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1303, allocations: 50.55 MB / 416.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007039/0.1374, allocations: 5.395 MB / 421.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003342/0.1407, allocations: 1.519 MB / 423 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007339/0.1415, allocations: 27.88 kB / 423 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005729/0.1421, allocations: 217.8 kB / 423.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007717/0.143, allocations: 194 kB / 423.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.144, allocations: 411.3 kB / 423.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1454, allocations: 1.13 MB / 424.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007435/0.1461, allocations: 488.2 kB / 425.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.1468, allocations: 406.2 kB / 425.8 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.1473, allocations: 433.5 kB / 426.2 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.1474, allocations: 84 kB / 426.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1476, allocations: 104 kB / 426.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.1479, allocations: 211.1 kB / 426.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.1483, allocations: 0.4971 MB / 427.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.1497, allocations: 1.182 MB / 428.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.1497, allocations: 0 / 428.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1497, allocations: 3.938 kB / 428.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1497, allocations: 4 kB / 428.3 MB, free: 0.8672 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002088/0.1518, allocations: 1.347 MB / 429.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1519, allocations: 12.03 kB / 429.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.1523, allocations: 159.1 kB / 429.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1533, allocations: 0.6582 MB / 430.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/0.1534, allocations: 81.94 kB / 430.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.1535, allocations: 96 kB / 430.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.1554, allocations: 1.027 MB / 431.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/0.1554, allocations: 11.94 kB / 431.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.1555, allocations: 44 kB / 431.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.1555, allocations: 24 kB / 431.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.1567, allocations: 0.55 MB / 432.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005791/0.1625, allocations: 5.502 MB / 437.8 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.1632, allocations: 241.6 kB / 438.1 MB, free: 6.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.1635, allocations: 157.6 kB / 438.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.1637, allocations: 89.03 kB / 438.3 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.1637, allocations: 38.56 kB / 438.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.1637, allocations: 0 / 438.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004312/0.168, allocations: 1.739 MB / 440.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.1681, allocations: 85.05 kB / 440.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/0.1689, allocations: 0.6413 MB / 440.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.1689, allocations: 33.7 kB / 440.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.1694, allocations: 0.6161 MB / 441.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1696, allocations: 158.7 kB / 441.6 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.1698, allocations: 142.5 kB / 441.7 MB, free: 2.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.17, allocations: 394.7 kB / 442.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.1703, allocations: 145.9 kB / 442.3 MB, free: 2.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.171, allocations: 0.4893 MB / 442.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.172, allocations: 0.6906 MB / 443.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.172, allocations: 8 kB / 443.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.2011/0.3731, allocations: 0.7155 MB / 444.2 MB, free: 28.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.3732, allocations: 10.45 kB / 444.2 MB, free: 28.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.3732, allocations: 11.84 kB / 444.2 MB, free: 28.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/0.3732, allocations: 16.75 kB / 444.2 MB, free: 28.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.3739, allocations: 200.2 kB / 444.4 MB, free: 28.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/0.374, allocations: 28.78 kB / 444.4 MB, free: 28.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.3744, allocations: 35.03 kB / 444.5 MB, free: 28.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.3745, allocations: 36.53 kB / 444.5 MB, free: 28.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002814/0.3748, allocations: 233.9 kB / 444.7 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3749, allocations: 79.47 kB / 444.8 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.375, allocations: 75.89 kB / 444.9 MB, free: 28.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.375, allocations: 6.031 kB / 444.9 MB, free: 28.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.375, allocations: 0 / 444.9 MB, free: 28.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.375, allocations: 3.016 kB / 444.9 MB, free: 28.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.3767, allocations: 1.321 MB / 446.2 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3767, allocations: 3.406 kB / 446.2 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.3772, allocations: 99.42 kB / 446.3 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3772, allocations: 2.156 kB / 446.3 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.3772, allocations: 14.8 kB / 446.3 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3772, allocations: 3.344 kB / 446.3 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3772, allocations: 7.781 kB / 446.3 MB, free: 28.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.3781, allocations: 0.7007 MB / 447 MB, free: 27.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3782, allocations: 148.5 kB / 447.2 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.3782, allocations: 11.02 kB / 447.2 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.3785, allocations: 18.88 kB / 447.2 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.3786, allocations: 35.56 kB / 447.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3786, allocations: 16.78 kB / 447.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003534/0.379, allocations: 420.7 kB / 447.7 MB, free: 27.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.379, allocations: 0.8438 kB / 447.7 MB, free: 27.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005718/0.3795, allocations: 147.1 kB / 447.8 MB, free: 27.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001019/0.3797, allocations: 108.6 kB / 447.9 MB, free: 27.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.3803, allocations: 434.7 kB / 448.4 MB, free: 27.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3804, allocations: 1 kB / 448.4 MB, free: 27.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.3806, allocations: 158.3 kB / 448.5 MB, free: 27.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.3811, allocations: 77.59 kB / 448.6 MB, free: 27.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.3833, allocations: 1.674 MB / 450.3 MB, free: 26.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.3838, allocations: 1.005 MB / 451.3 MB, free: 26.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.3841, allocations: 95.44 kB / 451.4 MB, free: 26.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3843, allocations: 71.05 kB / 451.4 MB, free: 26.1 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3843, allocations: 0 / 451.4 MB, free: 26.1 MB / 366.1 MB Notification: Performance of Templates: time 0.01175/0.396, allocations: 5.098 MB / 456.5 MB, free: 25.69 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.714041114784777]