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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 223.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008897/0.0008895, allocations: 102.3 kB / 271.2 MB, free: 8.449 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008028/0.0008029, allocations: 43.94 kB / 327.2 MB, free: 344 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2052, allocations: 46.62 MB / 373.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004938/0.2102, allocations: 5.336 MB / 379.2 MB, free: 41.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.2124, allocations: 1.452 MB / 380.6 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003487/0.2127, allocations: 33.44 kB / 380.6 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.2131, allocations: 162.6 kB / 380.8 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.2135, allocations: 152.9 kB / 381 MB, free: 40.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.2141, allocations: 346.8 kB / 381.3 MB, free: 39.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.2149, allocations: 1.076 MB / 382.4 MB, free: 39.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005229/0.2155, allocations: 434 kB / 382.8 MB, free: 38.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.2158, allocations: 370.6 kB / 383.2 MB, free: 38.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.2161, allocations: 424 kB / 383.6 MB, free: 38.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.2162, allocations: 58.56 kB / 383.6 MB, free: 38.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.2164, allocations: 72.97 kB / 383.7 MB, free: 38.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2165, allocations: 178 kB / 383.9 MB, free: 38.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003081/0.2168, allocations: 487.6 kB / 384.3 MB, free: 37.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.2175, allocations: 1.024 MB / 385.4 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2175, allocations: 0 / 385.4 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2175, allocations: 3.938 kB / 385.4 MB, free: 37.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.2176, allocations: 0 / 385.4 MB, free: 37.04 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.001511/0.2191, allocations: 1.306 MB / 386.7 MB, free: 36.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2191, allocations: 9.906 kB / 386.7 MB, free: 36.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.2193, allocations: 128 kB / 386.8 MB, free: 35.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.22, allocations: 0.6131 MB / 387.4 MB, free: 35.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.2201, allocations: 76.56 kB / 387.5 MB, free: 35.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.2202, allocations: 100.7 kB / 387.6 MB, free: 35.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.2215, allocations: 1.029 MB / 388.6 MB, free: 34.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.2215, allocations: 7.938 kB / 388.6 MB, free: 34.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-05/0.2216, allocations: 48 kB / 388.7 MB, free: 34.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.2216, allocations: 24 kB / 388.7 MB, free: 34.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.2225, allocations: 0.5578 MB / 389.3 MB, free: 33.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/0.2257, allocations: 5.52 MB / 394.8 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.2262, allocations: 229 kB / 395 MB, free: 27.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.2264, allocations: 161.9 kB / 395.2 MB, free: 27.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.2266, allocations: 93.03 kB / 395.3 MB, free: 27.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2266, allocations: 42.5 kB / 395.3 MB, free: 27.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/0.2266, allocations: 3.984 kB / 395.3 MB, free: 27.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.002996/0.2296, allocations: 1.702 MB / 397 MB, free: 25.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.2296, allocations: 88.98 kB / 397.1 MB, free: 25.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.2301, allocations: 0.6333 MB / 397.7 MB, free: 24.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2302, allocations: 41.7 kB / 397.8 MB, free: 24.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.2304, allocations: 0.591 MB / 398.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.2304, allocations: 149.9 kB / 398.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.2306, allocations: 142.4 kB / 398.6 MB, free: 23.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.2307, allocations: 382.8 kB / 399 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.2309, allocations: 149.9 kB / 399.2 MB, free: 23.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.2313, allocations: 0.4933 MB / 399.7 MB, free: 22.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/0.2319, allocations: 0.7052 MB / 400.4 MB, free: 21.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2319, allocations: 4 kB / 400.4 MB, free: 21.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008404/0.2328, allocations: 0.7076 MB / 401.1 MB, free: 21.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2328, allocations: 12 kB / 401.1 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2328, allocations: 16.09 kB / 401.1 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.2328, allocations: 16 kB / 401.1 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.2333, allocations: 195.6 kB / 401.3 MB, free: 20.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.2334, allocations: 27.86 kB / 401.3 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.2337, allocations: 32 kB / 401.4 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.2337, allocations: 43.98 kB / 401.4 MB, free: 20.84 MB / 298.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.0001846/0.2339, allocations: 229.5 kB / 401.6 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.234, allocations: 75.06 kB / 401.7 MB, free: 20.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.756e-05/0.2341, allocations: 78.53 kB / 401.8 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.2341, allocations: 4 kB / 401.8 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.2341, allocations: 3.938 kB / 401.8 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2341, allocations: 0 / 401.8 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.2356, allocations: 1.316 MB / 403.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2356, allocations: 4 kB / 403.1 MB, free: 19.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.236, allocations: 107.8 kB / 403.2 MB, free: 18.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.236, allocations: 0 / 403.2 MB, free: 18.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.2361, allocations: 16 kB / 403.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2361, allocations: 3.938 kB / 403.2 MB, free: 18.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.2361, allocations: 4 kB / 403.2 MB, free: 18.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.2384, allocations: 2.511 MB / 405.7 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.2385, allocations: 148.1 kB / 405.9 MB, free: 16.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.2386, allocations: 8 kB / 405.9 MB, free: 16.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.2388, allocations: 19.98 kB / 405.9 MB, free: 16.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.2389, allocations: 31.95 kB / 406 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.2389, allocations: 12 kB / 406 MB, free: 16.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003177/0.2392, allocations: 419 kB / 406.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2393, allocations: 0 / 406.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005958/0.2399, allocations: 179.9 kB / 406.5 MB, free: 15.44 MB / 298.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.0001023/0.24, allocations: 115.1 kB / 406.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.2405, allocations: 426.2 kB / 407.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2405, allocations: 7.938 kB / 407.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.2408, allocations: 151.8 kB / 407.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.2413, allocations: 71.98 kB / 407.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.2435, allocations: 2.35 MB / 409.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.2438, allocations: 1.004 MB / 410.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.244, allocations: 98 kB / 410.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.2442, allocations: 71.41 kB / 410.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2442, allocations: 0 / 410.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of Templates: time 0.008221/0.2524, allocations: 5.05 MB / 415.9 MB, free: 6.031 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches