Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001089/0.001089, allocations: 91.61 kB / 22.19 MB, free: 2.375 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.0008256/0.0008256, allocations: 155.6 kB / 25.44 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8314/0.8314, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.789e-05, allocations: 2.281 kB / 299.7 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004038/0.004066, allocations: 4.71 MB / 304.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.006672, allocations: 1.446 MB / 305.9 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.00708, allocations: 39.69 kB / 305.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.00744, allocations: 217.7 kB / 306.1 MB, free: 456 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.00783, allocations: 209.9 kB / 306.3 MB, free: 244 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005206/0.008351, allocations: 407.2 kB / 306.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007444/0.009095, allocations: 1.149 MB / 307.9 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.009459, allocations: 308.9 kB / 308.2 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.009888, allocations: 0.5884 MB / 308.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.01013, allocations: 290.9 kB / 309.1 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.01021, allocations: 84 kB / 309.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.01033, allocations: 95.98 kB / 309.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.01043, allocations: 215 kB / 309.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.01062, allocations: 319 kB / 309.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.01137, allocations: 1.168 MB / 310.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.01137, allocations: 0 / 310.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01137, allocations: 0 / 310.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.01138, allocations: 0 / 310.9 MB, free: 11.62 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.001452/0.01283, allocations: 1.252 MB / 312.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.01287, allocations: 15.98 kB / 312.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.01298, allocations: 139.1 kB / 312.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.01362, allocations: 0.5704 MB / 312.9 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/0.01365, allocations: 74 kB / 313 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.866e-05/0.01373, allocations: 108 kB / 313.1 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009797/0.01471, allocations: 1.084 MB / 314.2 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.01474, allocations: 11.88 kB / 314.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.01478, allocations: 44 kB / 314.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.0148, allocations: 28 kB / 314.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006595/0.01546, allocations: 0.5539 MB / 314.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.01863, allocations: 5.112 MB / 319.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.01897, allocations: 221 kB / 320.1 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.01916, allocations: 145.7 kB / 320.3 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-05/0.01924, allocations: 11.98 kB / 320.3 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.01927, allocations: 38.5 kB / 320.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.432e-06/0.01927, allocations: 0 / 320.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002109/0.02138, allocations: 1.594 MB / 321.9 MB, free: 76 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.02143, allocations: 81.11 kB / 322 MB, free: 15.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.02187, allocations: 0.6488 MB / 322.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.02189, allocations: 33.7 kB / 322.7 MB, free: 15.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.02214, allocations: 0.6161 MB / 323.3 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/0.02222, allocations: 154.8 kB / 323.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.02232, allocations: 130.6 kB / 323.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.02244, allocations: 390.7 kB / 323.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.02262, allocations: 153.9 kB / 324.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.02294, allocations: 0.4895 MB / 324.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.02349, allocations: 0.6946 MB / 325.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.02349, allocations: 4 kB / 325.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009701/0.02446, allocations: 0.7198 MB / 326 MB, free: 11.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.02448, allocations: 12 kB / 326 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.02449, allocations: 12 kB / 326 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.02452, allocations: 19.94 kB / 326 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.02486, allocations: 191.7 kB / 326.2 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.02488, allocations: 27.81 kB / 326.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.02506, allocations: 40.14 kB / 326.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.02508, allocations: 44 kB / 326.3 MB, free: 11.25 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.0001987/0.02528, allocations: 225.5 kB / 326.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.02536, allocations: 87.47 kB / 326.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.413e-05/0.02543, allocations: 70.56 kB / 326.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02543, allocations: 4 kB / 326.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.02544, allocations: 0 / 326.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.02545, allocations: 3.984 kB / 326.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.02658, allocations: 1.125 MB / 327.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.02658, allocations: 7.984 kB / 327.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.0268, allocations: 99.88 kB / 328 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.02681, allocations: 4 kB / 328 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.02683, allocations: 16.14 kB / 328 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.02683, allocations: 4 kB / 328 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.02683, allocations: 0 / 328 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.02745, allocations: 0.6935 MB / 328.7 MB, free: 8.816 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.02751, allocations: 71.52 kB / 328.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.02754, allocations: 8 kB / 328.7 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.02768, allocations: 27.98 kB / 328.8 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.02775, allocations: 35.83 kB / 328.8 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.02777, allocations: 11.98 kB / 328.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.02806, allocations: 419 kB / 329.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02806, allocations: 0 / 329.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.02843, allocations: 140 kB / 329.4 MB, free: 8.125 MB / 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 0.0001044/0.02853, allocations: 111.1 kB / 329.5 MB, free: 8.004 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004682/0.029, allocations: 418.2 kB / 329.9 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.029, allocations: 0 / 329.9 MB, free: 7.598 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.02916, allocations: 143.8 kB / 330 MB, free: 7.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.02952, allocations: 70.14 kB / 330.1 MB, free: 7.387 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.03116, allocations: 1.62 MB / 331.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.03142, allocations: 413.2 kB / 332.1 MB, free: 5.277 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.03153, allocations: 72.47 kB / 332.2 MB, free: 5.207 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.03153, allocations: 3.938 kB / 332.2 MB, free: 5.203 MB / 314.7 MB Notification: Performance of Templates: time 0.008854/0.04039, allocations: 9.651 MB / 341.8 MB, free: 11.54 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.462127670645714]