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.001322/0.001322, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001446/0.001446, allocations: 205.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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 1.518/1.518, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001528/0.001528, allocations: 43.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2189, allocations: 53.38 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006639/0.2256, allocations: 4.759 MB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.2283, allocations: 1.481 MB / 438.6 MB, free: 444 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.2286, allocations: 35.69 kB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.229, allocations: 221.8 kB / 438.9 MB, free: 184 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.2295, allocations: 194.1 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.2302, allocations: 419.3 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.2314, allocations: 1.122 MB / 440.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005178/0.2319, allocations: 339.8 kB / 440.9 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.2324, allocations: 414.3 kB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004506/0.2328, allocations: 445.4 kB / 441.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.2329, allocations: 84 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.2331, allocations: 104 kB / 441.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2333, allocations: 207.2 kB / 442.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.2336, allocations: 409.6 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.2348, allocations: 1.193 MB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2348, allocations: 0 / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2348, allocations: 0 / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.2348, allocations: 0 / 443.7 MB, free: 11.27 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.001867/0.2367, allocations: 1.275 MB / 445 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2367, allocations: 8.031 kB / 445 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.2371, allocations: 147.1 kB / 445.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.2381, allocations: 0.586 MB / 445.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.2382, allocations: 81.94 kB / 445.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.2384, allocations: 96 kB / 445.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.2401, allocations: 1.078 MB / 447 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.2401, allocations: 11.89 kB / 447 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.2402, allocations: 48 kB / 447.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.2402, allocations: 27.94 kB / 447.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.2414, allocations: 0.5578 MB / 447.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004837/0.2462, allocations: 5.121 MB / 452.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.2468, allocations: 232.9 kB / 453 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.2471, allocations: 141.7 kB / 453.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.708e-05/0.2472, allocations: 11.98 kB / 453.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.2472, allocations: 42.5 kB / 453.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.2472, allocations: 0 / 453.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003866/0.2511, allocations: 1.586 MB / 454.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.2511, allocations: 89.11 kB / 454.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.2518, allocations: 0.6564 MB / 455.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.2519, allocations: 33.7 kB / 455.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/0.2523, allocations: 0.6161 MB / 456.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.2524, allocations: 158.7 kB / 456.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.2526, allocations: 130.6 kB / 456.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.2528, allocations: 386.7 kB / 456.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.2532, allocations: 149.9 kB / 457 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005808/0.2538, allocations: 0.501 MB / 457.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009484/0.2547, allocations: 0.6909 MB / 458.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.2547, allocations: 4 kB / 458.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001172/0.2559, allocations: 0.7122 MB / 458.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2559, allocations: 11.94 kB / 458.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.2559, allocations: 12.06 kB / 458.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.2559, allocations: 20 kB / 458.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.2566, allocations: 191.7 kB / 459.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.2566, allocations: 27.88 kB / 459.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.257, allocations: 35.98 kB / 459.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.257, allocations: 39.94 kB / 459.2 MB, free: 10.84 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.0002785/0.2573, allocations: 233.5 kB / 459.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2574, allocations: 83.48 kB / 459.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.2575, allocations: 70.64 kB / 459.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2575, allocations: 4 kB / 459.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2575, allocations: 7.938 kB / 459.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2576, allocations: 3.984 kB / 459.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.2595, allocations: 1.136 MB / 460.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2595, allocations: 7.938 kB / 460.7 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/0.26, allocations: 103.9 kB / 460.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.26, allocations: 3.984 kB / 460.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.26, allocations: 8 kB / 460.9 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.26, allocations: 7.938 kB / 460.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.26, allocations: 4 kB / 460.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.2611, allocations: 0.7054 MB / 461.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.2612, allocations: 67.52 kB / 461.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.2612, allocations: 15.94 kB / 461.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.2615, allocations: 19.98 kB / 461.7 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.2616, allocations: 39.94 kB / 461.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.2616, allocations: 12 kB / 461.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004677/0.2621, allocations: 419 kB / 462.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2621, allocations: 0 / 462.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000602/0.2627, allocations: 143.9 kB / 462.3 MB, free: 7.68 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.0001295/0.2628, allocations: 115.1 kB / 462.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007422/0.2636, allocations: 413 kB / 462.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2636, allocations: 0 / 462.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.2639, allocations: 151.9 kB / 462.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.2644, allocations: 70.34 kB / 463 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.2671, allocations: 1.693 MB / 464.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.2675, allocations: 417.3 kB / 465.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002413/0.2677, allocations: 94 kB / 465.2 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.2679, allocations: 67.34 kB / 465.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2679, allocations: 0 / 465.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of Templates: time 0.01238/0.2803, allocations: 5.899 MB / 471.2 MB, free: 14.79 MB / 382.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/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.6492150030098855]