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.001345/0.001345, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001537/0.001537, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.593/1.593, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.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.002117/0.002117, allocations: 55.91 kB / 378.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2991, allocations: 53.41 MB / 431.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007465/0.3066, allocations: 4.772 MB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003661/0.3102, allocations: 1.477 MB / 437.9 MB, free: 264 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.3108, allocations: 39.69 kB / 437.9 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.3113, allocations: 213.8 kB / 438.2 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006554/0.312, allocations: 198 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.3131, allocations: 423.3 kB / 438.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.3144, allocations: 1.126 MB / 439.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.315, allocations: 316.6 kB / 440.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007424/0.3158, allocations: 414.3 kB / 440.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.3163, allocations: 373.5 kB / 441 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.3165, allocations: 84 kB / 441 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002348/0.3167, allocations: 112 kB / 441.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.3169, allocations: 207.1 kB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000482/0.3174, allocations: 409.7 kB / 441.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3188, allocations: 1.192 MB / 443 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3188, allocations: 4 kB / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3188, allocations: 0 / 443 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3188, allocations: 0 / 443 MB, free: 11.16 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.002043/0.3208, allocations: 1.267 MB / 444.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3209, allocations: 15.98 kB / 444.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.3212, allocations: 159.1 kB / 444.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3224, allocations: 0.5782 MB / 445 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/0.3224, allocations: 77.94 kB / 445 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.3226, allocations: 104 kB / 445.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.3243, allocations: 1.073 MB / 446.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.3244, allocations: 11.89 kB / 446.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.3245, allocations: 40 kB / 446.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.3245, allocations: 28 kB / 446.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.3256, allocations: 0.5617 MB / 446.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005379/0.331, allocations: 5.113 MB / 452 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.3317, allocations: 228.9 kB / 452.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.332, allocations: 145.6 kB / 452.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.427e-05/0.3321, allocations: 4 kB / 452.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3321, allocations: 54.38 kB / 452.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.3321, allocations: 0 / 452.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004065/0.3362, allocations: 1.591 MB / 454 MB, free: 15.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.3362, allocations: 81.11 kB / 454.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.337, allocations: 0.6564 MB / 454.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3371, allocations: 33.7 kB / 454.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000487/0.3375, allocations: 0.6161 MB / 455.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.3377, allocations: 154.8 kB / 455.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.3379, allocations: 138.6 kB / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.3381, allocations: 386.8 kB / 456 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.3384, allocations: 157.9 kB / 456.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.339, allocations: 0.4931 MB / 456.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.34, allocations: 0.6989 MB / 457.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.34, allocations: 0 / 457.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001236/0.3413, allocations: 0.7159 MB / 458.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3413, allocations: 12 kB / 458.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.3413, allocations: 12 kB / 458.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.3413, allocations: 16 kB / 458.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/0.342, allocations: 191.7 kB / 458.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.651e-05/0.342, allocations: 28.17 kB / 458.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3424, allocations: 39.98 kB / 458.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.3424, allocations: 40 kB / 458.4 MB, free: 10.73 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.0003181/0.3427, allocations: 225.5 kB / 458.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.3429, allocations: 79.48 kB / 458.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.3431, allocations: 78.56 kB / 458.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3431, allocations: 4 kB / 458.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.3431, allocations: 3.938 kB / 458.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3431, allocations: 3.984 kB / 458.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.3451, allocations: 1.136 MB / 460 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3451, allocations: 3.938 kB / 460 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.3456, allocations: 100 kB / 460.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.3456, allocations: 8 kB / 460.1 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.3456, allocations: 15.98 kB / 460.1 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3456, allocations: 7.938 kB / 460.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3456, allocations: 3.938 kB / 460.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.3468, allocations: 0.6936 MB / 460.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.347, allocations: 63.48 kB / 460.8 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.347, allocations: 19.97 kB / 460.9 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.3473, allocations: 23.98 kB / 460.9 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3475, allocations: 31.89 kB / 460.9 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.3475, allocations: 19.98 kB / 460.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000627/0.3481, allocations: 419 kB / 461.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3481, allocations: 0 / 461.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007985/0.3489, allocations: 140 kB / 461.5 MB, free: 7.59 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.0001803/0.3491, allocations: 115.1 kB / 461.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009202/0.35, allocations: 416.3 kB / 462 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.35, allocations: 4 kB / 462 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.3503, allocations: 135.8 kB / 462.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.3509, allocations: 80.48 kB / 462.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.354, allocations: 1.685 MB / 463.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.3545, allocations: 417.4 kB / 464.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002829/0.3548, allocations: 94 kB / 464.4 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.355, allocations: 71.41 kB / 464.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.355, allocations: 0 / 464.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of Templates: time 0.01397/0.3689, allocations: 5.693 MB / 470.2 MB, free: 14.92 MB / 382.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.901627987623215]