Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004223/0.004223, allocations: 161 kB / 24.7 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.056e-05, allocations: 2.281 kB / 325.9 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.003902/0.003922, allocations: 4.79 MB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.005665, allocations: 1.48 MB / 332.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.005951, allocations: 39.69 kB / 332.2 MB, free: 8.906 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.006263, allocations: 221.7 kB / 332.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.006608, allocations: 209.8 kB / 332.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005042/0.007113, allocations: 419.2 kB / 333 MB, free: 8.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.007841, allocations: 1.153 MB / 334.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.00821, allocations: 320.9 kB / 334.5 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.008688, allocations: 0.5884 MB / 335.1 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.008931, allocations: 290.9 kB / 335.3 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.326e-05/0.009004, allocations: 87.94 kB / 335.4 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.009129, allocations: 99.94 kB / 335.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.009231, allocations: 219 kB / 335.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.009403, allocations: 319 kB / 336 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007408/0.01014, allocations: 1.164 MB / 337.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.01015, allocations: 8 kB / 337.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01015, allocations: 0 / 337.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.01016, allocations: 7.984 kB / 337.2 MB, free: 3.809 MB / 298.7 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.001355/0.01152, allocations: 1.251 MB / 338.5 MB, free: 2.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.01155, allocations: 12.03 kB / 338.5 MB, free: 2.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.01177, allocations: 151.1 kB / 338.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.01241, allocations: 0.5704 MB / 339.2 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.01245, allocations: 74 kB / 339.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.676e-05/0.01253, allocations: 96 kB / 339.4 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.01352, allocations: 1.092 MB / 340.5 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.01354, allocations: 7.938 kB / 340.5 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.01359, allocations: 44 kB / 340.5 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.0136, allocations: 24 kB / 340.5 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.01427, allocations: 0.5578 MB / 341.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.017, allocations: 5.127 MB / 346.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.01733, allocations: 220.9 kB / 346.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.01752, allocations: 149.6 kB / 346.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-05/0.0176, allocations: 11.98 kB / 346.6 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.01763, allocations: 34.56 kB / 346.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.243e-06/0.01763, allocations: 0 / 346.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.00212/0.01975, allocations: 1.607 MB / 348.2 MB, free: 8.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.01979, allocations: 81.11 kB / 348.3 MB, free: 8.137 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004651/0.02025, allocations: 0.6566 MB / 349 MB, free: 7.469 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.02027, allocations: 29.7 kB / 349 MB, free: 7.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.02054, allocations: 0.6162 MB / 349.6 MB, free: 6.809 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.02061, allocations: 154.7 kB / 349.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.02072, allocations: 130.6 kB / 349.9 MB, free: 6.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.02084, allocations: 394.7 kB / 350.3 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.02102, allocations: 153.9 kB / 350.4 MB, free: 5.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.02135, allocations: 497.3 kB / 350.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.0219, allocations: 0.6992 MB / 351.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.0219, allocations: 0 / 351.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006737/0.02258, allocations: 0.72 MB / 352.3 MB, free: 3.742 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.02259, allocations: 12 kB / 352.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.0226, allocations: 12 kB / 352.4 MB, free: 3.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.02263, allocations: 16 kB / 352.4 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.02295, allocations: 199.6 kB / 352.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.02297, allocations: 19.94 kB / 352.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.02314, allocations: 35.98 kB / 352.6 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-05/0.02317, allocations: 36 kB / 352.7 MB, free: 3.418 MB / 314.7 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.0001912/0.02336, allocations: 241.4 kB / 352.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.02343, allocations: 79.42 kB / 353 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.02349, allocations: 78.64 kB / 353.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.0235, allocations: 4 kB / 353.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.0235, allocations: 4 kB / 353.1 MB, free: 3.008 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.02351, allocations: 3.984 kB / 353.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.02457, allocations: 1.137 MB / 354.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.02457, allocations: 0 / 354.2 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.02479, allocations: 103.9 kB / 354.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.0248, allocations: 4 kB / 354.3 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.02481, allocations: 8 kB / 354.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.02482, allocations: 8.156 kB / 354.3 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.02482, allocations: 0 / 354.3 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.02543, allocations: 0.7012 MB / 355 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/0.02548, allocations: 71.52 kB / 355.1 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.02551, allocations: 8 kB / 355.1 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.02565, allocations: 27.98 kB / 355.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.02571, allocations: 35.88 kB / 355.2 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.02572, allocations: 12 kB / 355.2 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002816/0.026, allocations: 419 kB / 355.6 MB, free: 408 kB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.026, allocations: 0 / 355.6 MB, free: 408 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.02636, allocations: 140 kB / 355.7 MB, free: 268 kB / 314.7 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 9.836e-05/0.02646, allocations: 111.1 kB / 355.8 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.02692, allocations: 422.2 kB / 356.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02692, allocations: 0 / 356.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.02708, allocations: 146.6 kB / 356.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.02742, allocations: 71.23 kB / 356.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.02901, allocations: 1.62 MB / 358.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.02925, allocations: 421.2 kB / 358.5 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.02936, allocations: 68.47 kB / 358.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02936, allocations: 0 / 358.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of Templates: time 0.007509/0.03687, allocations: 9.697 MB / 368.2 MB, free: 3.629 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.234065950848162]