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.002044/0.002044, allocations: 83.08 kB / 20.68 MB, free: 1.035 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.002336/0.002336, allocations: 157.9 kB / 23.95 MB, free: 4.168 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.544/1.544, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 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 2.565e-06/2.565e-06, allocations: 0 / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.332e-05, allocations: 2.281 kB / 325 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00804/0.008073, allocations: 4.781 MB / 329.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.01194, allocations: 1.485 MB / 331.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007203/0.01266, allocations: 37.31 kB / 331.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.01322, allocations: 222.5 kB / 331.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007864/0.014, allocations: 202.5 kB / 331.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.01519, allocations: 418.8 kB / 332.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.01689, allocations: 1.161 MB / 333.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006324/0.01752, allocations: 317.6 kB / 333.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.01855, allocations: 0.5917 MB / 334.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.01901, allocations: 285.6 kB / 334.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.01915, allocations: 84.03 kB / 334.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.01941, allocations: 109 kB / 334.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.01962, allocations: 213.7 kB / 334.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.01999, allocations: 317.9 kB / 335.2 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.02143, allocations: 1.171 MB / 336.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.02144, allocations: 4 kB / 336.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.02144, allocations: 0 / 336.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.02146, allocations: 0 / 336.4 MB, free: 8.773 MB / 302.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.002231/0.02369, allocations: 1.258 MB / 337.6 MB, free: 7.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.02374, allocations: 12.14 kB / 337.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/0.02416, allocations: 151.8 kB / 337.8 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.02534, allocations: 0.5811 MB / 338.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/0.02541, allocations: 73.69 kB / 338.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.02555, allocations: 96.09 kB / 338.6 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.02749, allocations: 1.092 MB / 339.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.02752, allocations: 7.938 kB / 339.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/0.02762, allocations: 44 kB / 339.7 MB, free: 6.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.02765, allocations: 31.98 kB / 339.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.02891, allocations: 0.55 MB / 340.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005505/0.03441, allocations: 5.12 MB / 345.4 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006654/0.03508, allocations: 221 kB / 345.6 MB, free: 15.94 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.03543, allocations: 145.6 kB / 345.8 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.03554, allocations: 19.92 kB / 345.8 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.03557, allocations: 30.56 kB / 345.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.03557, allocations: 0 / 345.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004446/0.04002, allocations: 1.606 MB / 347.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.04009, allocations: 85.05 kB / 347.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.04093, allocations: 0.6566 MB / 348.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.04096, allocations: 33.64 kB / 348.2 MB, free: 13.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/0.04146, allocations: 0.6123 MB / 348.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.04161, allocations: 154.7 kB / 348.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.04181, allocations: 138.6 kB / 349.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.04203, allocations: 386.7 kB / 349.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.04238, allocations: 153.9 kB / 349.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.04302, allocations: 497.4 kB / 350.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.04406, allocations: 0.6989 MB / 350.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.04407, allocations: 4 kB / 350.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00132/0.04539, allocations: 0.7128 MB / 351.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.04541, allocations: 16.06 kB / 351.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.04543, allocations: 16 kB / 351.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.04546, allocations: 16 kB / 351.6 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.04616, allocations: 199.6 kB / 351.8 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.892e-05/0.04619, allocations: 27.91 kB / 351.8 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.04658, allocations: 32 kB / 351.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-05/0.04663, allocations: 39.98 kB / 351.9 MB, free: 9.242 MB / 318.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.0003564/0.04699, allocations: 237.4 kB / 352.1 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.04713, allocations: 79.48 kB / 352.2 MB, free: 8.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.04726, allocations: 78.62 kB / 352.2 MB, free: 8.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.04727, allocations: 4 kB / 352.2 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.04727, allocations: 0 / 352.2 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.04728, allocations: 0 / 352.2 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.04947, allocations: 1.129 MB / 353.4 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.04947, allocations: 0 / 353.4 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.04999, allocations: 107.8 kB / 353.5 MB, free: 7.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.05, allocations: 4 kB / 353.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.05003, allocations: 8 kB / 353.5 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.05003, allocations: 4.156 kB / 353.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.05003, allocations: 4 kB / 353.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.0512, allocations: 0.709 MB / 354.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.0513, allocations: 63.48 kB / 354.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.05137, allocations: 15.94 kB / 354.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/0.05169, allocations: 28.03 kB / 354.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.05179, allocations: 31.88 kB / 354.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.05182, allocations: 12 kB / 354.4 MB, free: 6.641 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005375/0.05236, allocations: 423 kB / 354.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05236, allocations: 0 / 354.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007257/0.05308, allocations: 140 kB / 354.9 MB, free: 6.094 MB / 318.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.0001525/0.05324, allocations: 103.2 kB / 355 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008539/0.05409, allocations: 430.1 kB / 355.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.05409, allocations: 0 / 355.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.0544, allocations: 150.7 kB / 355.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.05495, allocations: 75.23 kB / 355.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.05786, allocations: 1.57 MB / 357.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.0583, allocations: 421.2 kB / 357.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.05856, allocations: 94 kB / 357.7 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.05872, allocations: 64.47 kB / 357.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.05872, allocations: 0 / 357.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of Templates: time 0.0118/0.07051, allocations: 4.635 MB / 362.4 MB, free: 14.58 MB / 334.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.646570187062025]