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.0018/0.0018, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002265/0.002265, allocations: 206 kB / 24.49 MB, free: 4.148 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.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.001456/0.001456, allocations: 47.92 kB / 379.1 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2191, allocations: 53.37 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006953/0.226, allocations: 5.429 MB / 437.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.229, allocations: 1.524 MB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.2295, allocations: 39.69 kB / 439.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.23, allocations: 221.7 kB / 439.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.2305, allocations: 198 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.2313, allocations: 427.2 kB / 440.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.2325, allocations: 1.126 MB / 441.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.2331, allocations: 336.6 kB / 441.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005465/0.2336, allocations: 426.2 kB / 442.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.2341, allocations: 425.6 kB / 442.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.2343, allocations: 84 kB / 442.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.2345, allocations: 111.9 kB / 442.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.2346, allocations: 211.1 kB / 442.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.2351, allocations: 0.497 MB / 443.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.2363, allocations: 1.188 MB / 444.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.2363, allocations: 4 kB / 444.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2363, allocations: 0 / 444.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.2364, allocations: 0 / 444.6 MB, free: 10.65 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.001859/0.2382, allocations: 1.267 MB / 445.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2383, allocations: 8.031 kB / 445.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.2386, allocations: 151.1 kB / 446 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.2397, allocations: 0.5821 MB / 446.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.429e-05/0.2397, allocations: 77.94 kB / 446.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.2399, allocations: 99.98 kB / 446.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.2415, allocations: 1.028 MB / 447.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.2415, allocations: 15.88 kB / 447.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/0.2416, allocations: 44 kB / 447.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.2416, allocations: 32 kB / 447.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.2428, allocations: 0.5539 MB / 448.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.248, allocations: 5.409 MB / 453.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.2485, allocations: 216.9 kB / 454.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.2489, allocations: 161.5 kB / 454.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.208e-05/0.2489, allocations: 8 kB / 454.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.249, allocations: 38.56 kB / 454.3 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.764e-06/0.249, allocations: 0 / 454.3 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003738/0.2527, allocations: 1.582 MB / 455.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.2528, allocations: 92.98 kB / 456 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/0.2535, allocations: 0.6373 MB / 456.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2535, allocations: 29.7 kB / 456.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.254, allocations: 0.62 MB / 457.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.2541, allocations: 154.8 kB / 457.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.2543, allocations: 134.5 kB / 457.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.2545, allocations: 390.7 kB / 457.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.2548, allocations: 149.9 kB / 458.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.2554, allocations: 0.4971 MB / 458.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.2563, allocations: 0.695 MB / 459.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2563, allocations: 4 kB / 459.3 MB, free: 11.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001163/0.2574, allocations: 0.7158 MB / 460 MB, free: 10.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.2575, allocations: 8 kB / 460 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.2575, allocations: 12 kB / 460 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.2575, allocations: 16 kB / 460 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.2582, allocations: 199.6 kB / 460.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.698e-05/0.2582, allocations: 24.22 kB / 460.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.2585, allocations: 35.98 kB / 460.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.2586, allocations: 44 kB / 460.3 MB, free: 10.01 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.0003198/0.2589, allocations: 233.5 kB / 460.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.259, allocations: 79.48 kB / 460.6 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.2591, allocations: 70.69 kB / 460.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.2591, allocations: 15.92 kB / 460.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2591, allocations: 7.875 kB / 460.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2592, allocations: 3.984 kB / 460.7 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.2613, allocations: 1.288 MB / 462 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2613, allocations: 0 / 462 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.2617, allocations: 99.88 kB / 462.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.2617, allocations: 11.92 kB / 462.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.2618, allocations: 11.94 kB / 462.1 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.2618, allocations: 7.984 kB / 462.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2618, allocations: 0 / 462.1 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.2628, allocations: 0.7131 MB / 462.8 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.2629, allocations: 71.45 kB / 462.9 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.263, allocations: 12 kB / 462.9 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.2632, allocations: 19.98 kB / 462.9 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.2633, allocations: 31.94 kB / 463 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.2633, allocations: 16 kB / 463 MB, free: 7.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000476/0.2638, allocations: 423 kB / 463.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2638, allocations: 0 / 463.4 MB, free: 6.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006342/0.2645, allocations: 144 kB / 463.5 MB, free: 6.672 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.0001264/0.2646, allocations: 107.1 kB / 463.6 MB, free: 6.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000789/0.2654, allocations: 420.6 kB / 464.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2654, allocations: 4.25 kB / 464.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.2657, allocations: 151.7 kB / 464.2 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.2662, allocations: 67.31 kB / 464.3 MB, free: 5.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.2689, allocations: 1.732 MB / 466 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.2696, allocations: 1.004 MB / 467 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.2698, allocations: 71.41 kB / 467.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2698, allocations: 0 / 467.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of Templates: time 0.01429/0.284, allocations: 9.397 MB / 476.5 MB, free: 9.633 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 -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: 7.179344546981156]