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.001362/0.001362, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001488/0.001488, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.467/1.467, allocations: 230.3 MB / 258 MB, free: 8.246 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.003064/0.003064, allocations: 59.91 kB / 378.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2885, allocations: 53.36 MB / 432.1 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00753/0.2961, allocations: 5.44 MB / 437.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00305/0.2991, allocations: 1.527 MB / 439.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007513/0.2999, allocations: 39.69 kB / 439.1 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.3006, allocations: 221.9 kB / 439.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.3016, allocations: 194 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.3029, allocations: 427.2 kB / 440 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.3047, allocations: 1.126 MB / 441.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.3054, allocations: 336.6 kB / 441.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007351/0.3062, allocations: 422.2 kB / 441.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006873/0.3068, allocations: 433.5 kB / 442.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.307, allocations: 84 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.3073, allocations: 100 kB / 442.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.3076, allocations: 219.1 kB / 442.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006882/0.3083, allocations: 0.4971 MB / 443.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.3099, allocations: 1.192 MB / 444.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3099, allocations: 0 / 444.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3099, allocations: 0 / 444.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.3099, allocations: 0 / 444.3 MB, free: 10.77 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.002444/0.3124, allocations: 1.271 MB / 445.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3124, allocations: 8.031 kB / 445.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004801/0.3129, allocations: 151.1 kB / 445.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.3142, allocations: 0.5782 MB / 446.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3143, allocations: 81.88 kB / 446.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.3145, allocations: 99.98 kB / 446.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.3166, allocations: 1.027 MB / 447.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.3167, allocations: 11.92 kB / 447.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3168, allocations: 44 kB / 447.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.3168, allocations: 24 kB / 447.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.3181, allocations: 0.5539 MB / 448.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/0.324, allocations: 5.413 MB / 453.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.3246, allocations: 224.9 kB / 453.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.3249, allocations: 149.6 kB / 454 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.702e-05/0.325, allocations: 12 kB / 454 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.3251, allocations: 34.56 kB / 454 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 4.588e-06/0.3251, allocations: 3.984 kB / 454 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004277/0.3294, allocations: 1.594 MB / 455.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.3294, allocations: 85.05 kB / 455.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008683/0.3303, allocations: 0.6413 MB / 456.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.3303, allocations: 37.7 kB / 456.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.3308, allocations: 0.62 MB / 457 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.331, allocations: 150.8 kB / 457.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.3312, allocations: 138.5 kB / 457.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3314, allocations: 386.7 kB / 457.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.3317, allocations: 149.9 kB / 457.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/0.3324, allocations: 0.5048 MB / 458.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3335, allocations: 0.6927 MB / 459 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3335, allocations: 4 kB / 459 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001317/0.3348, allocations: 0.7148 MB / 459.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.3348, allocations: 12 kB / 459.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.3348, allocations: 16.09 kB / 459.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/0.3349, allocations: 16 kB / 459.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.3355, allocations: 191.7 kB / 459.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.185e-05/0.3355, allocations: 27.81 kB / 460 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.3359, allocations: 35.98 kB / 460 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.336, allocations: 40 kB / 460 MB, free: 10.11 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.0003249/0.3363, allocations: 229.5 kB / 460.3 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.3364, allocations: 79.48 kB / 460.3 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.3366, allocations: 74.69 kB / 460.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3366, allocations: 4 kB / 460.4 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.3366, allocations: 3.938 kB / 460.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3366, allocations: 3.984 kB / 460.4 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.3389, allocations: 1.291 MB / 461.7 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3389, allocations: 4 kB / 461.7 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.3394, allocations: 100 kB / 461.8 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.3394, allocations: 7.984 kB / 461.8 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.3395, allocations: 15.94 kB / 461.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3395, allocations: 0 / 461.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3395, allocations: 4 kB / 461.9 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3406, allocations: 0.7052 MB / 462.6 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3407, allocations: 71.45 kB / 462.6 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.3408, allocations: 12 kB / 462.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.3411, allocations: 23.98 kB / 462.7 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.3411, allocations: 35.88 kB / 462.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.3412, allocations: 12 kB / 462.7 MB, free: 7.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005217/0.3417, allocations: 427 kB / 463.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3417, allocations: 0 / 463.1 MB, free: 6.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006428/0.3423, allocations: 140 kB / 463.3 MB, free: 6.793 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.0001424/0.3425, allocations: 114.5 kB / 463.4 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008394/0.3433, allocations: 416.6 kB / 463.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3433, allocations: 1.688 kB / 463.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.3436, allocations: 147.7 kB / 463.9 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.3442, allocations: 75.55 kB / 464 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.3473, allocations: 1.693 MB / 465.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008359/0.3481, allocations: 1.008 MB / 466.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002849/0.3484, allocations: 86.06 kB / 466.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.3486, allocations: 71.41 kB / 466.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3486, allocations: 4 kB / 466.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of Templates: time 0.0126/0.3612, allocations: 5.514 MB / 472.4 MB, free: 13.61 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.761952134780586]