Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 185 kB / 24.45 MB, free: 3.867 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 47.92 kB / 371.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2513, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007824/0.2591, allocations: 4.758 MB / 428.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003475/0.2626, allocations: 1.391 MB / 430 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008097/0.2634, allocations: 39.69 kB / 430 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.2641, allocations: 217.8 kB / 430.2 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009307/0.2651, allocations: 198 kB / 430.4 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2662, allocations: 403.4 kB / 430.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.2678, allocations: 1.115 MB / 431.9 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006124/0.2684, allocations: 312.5 kB / 432.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/0.269, allocations: 414.2 kB / 432.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.2694, allocations: 373.6 kB / 433 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.2695, allocations: 84 kB / 433.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.2697, allocations: 100 kB / 433.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.2699, allocations: 219 kB / 433.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.2704, allocations: 401.8 kB / 433.8 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.2716, allocations: 1.193 MB / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2716, allocations: 0 / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2716, allocations: 0 / 435 MB, free: 3.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.2717, allocations: 3.938 kB / 435 MB, free: 3.262 MB / 334.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.002029/0.2737, allocations: 1.264 MB / 436.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2737, allocations: 15.97 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2739, allocations: 131.2 kB / 436.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.2751, allocations: 0.5665 MB / 437 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/0.2752, allocations: 81.94 kB / 437.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.2753, allocations: 100 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.2771, allocations: 1.077 MB / 438.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.2772, allocations: 7.938 kB / 438.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.2772, allocations: 44 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.2773, allocations: 28 kB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.2785, allocations: 0.5539 MB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005259/0.2837, allocations: 5.125 MB / 444 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.2843, allocations: 220.9 kB / 444.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.2846, allocations: 145.9 kB / 444.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.2847, allocations: 15.92 kB / 444.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.2848, allocations: 50.44 kB / 444.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 4.137e-06/0.2848, allocations: 3.984 kB / 444.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004035/0.2888, allocations: 1.587 MB / 446 MB, free: 7.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.2889, allocations: 81.11 kB / 446.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008031/0.2897, allocations: 0.6565 MB / 446.7 MB, free: 6.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.2897, allocations: 29.7 kB / 446.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000491/0.2902, allocations: 0.6123 MB / 447.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.2903, allocations: 158.7 kB / 447.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.2905, allocations: 138.5 kB / 447.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.2907, allocations: 386.8 kB / 448 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.2911, allocations: 153.9 kB / 448.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/0.2917, allocations: 0.4933 MB / 448.7 MB, free: 4.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.2927, allocations: 0.6882 MB / 449.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.2927, allocations: 4 kB / 449.4 MB, free: 3.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001262/0.294, allocations: 0.723 MB / 450.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.294, allocations: 8 kB / 450.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.294, allocations: 15.94 kB / 450.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/0.2941, allocations: 16 kB / 450.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/0.2948, allocations: 195.6 kB / 450.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.2948, allocations: 24.31 kB / 450.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.2952, allocations: 43.92 kB / 450.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.2952, allocations: 40 kB / 450.4 MB, free: 2.879 MB / 350.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.0003211/0.2955, allocations: 233.5 kB / 450.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.2957, allocations: 79.48 kB / 450.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.2958, allocations: 74.5 kB / 450.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.2958, allocations: 4 kB / 450.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2958, allocations: 0 / 450.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2958, allocations: 11.92 kB / 450.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.2978, allocations: 1.128 MB / 452 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2978, allocations: 0 / 452 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.2983, allocations: 100 kB / 452.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.2983, allocations: 8 kB / 452.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.2984, allocations: 12 kB / 452.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.144e-05/0.2984, allocations: 7.938 kB / 452.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2984, allocations: 3.938 kB / 452.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2995, allocations: 0.6936 MB / 452.8 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.2996, allocations: 71.45 kB / 452.9 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.2996, allocations: 11.94 kB / 452.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.2999, allocations: 27.98 kB / 452.9 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.3, allocations: 27.94 kB / 452.9 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3, allocations: 12 kB / 452.9 MB, free: 300 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.3005, allocations: 419 kB / 453.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3005, allocations: 0 / 453.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006682/0.3012, allocations: 136 kB / 453.5 MB, free: 15.75 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.0001461/0.3014, allocations: 119.2 kB / 453.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008274/0.3022, allocations: 413.2 kB / 454 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.3022, allocations: 4 kB / 454 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.3025, allocations: 141.1 kB / 454.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.303, allocations: 70.92 kB / 454.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.3059, allocations: 1.722 MB / 455.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.3064, allocations: 417.3 kB / 456.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3066, allocations: 83.28 kB / 456.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3066, allocations: 0 / 456.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.01642/0.323, allocations: 9.656 MB / 466.1 MB, free: 3.047 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.633133475203067]