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/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.001375/0.001375, allocations: 82.58 kB / 21.99 MB, free: 5.199 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.001513/0.001513, allocations: 157.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 178] 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 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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 59.92 kB / 299.4 MB, free: 6.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2331, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007277/0.2404, allocations: 4.707 MB / 353.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.2435, allocations: 1.442 MB / 354.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004205/0.2439, allocations: 31.75 kB / 354.7 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.2444, allocations: 225.7 kB / 354.9 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.245, allocations: 194 kB / 355.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.2458, allocations: 395.4 kB / 355.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.2471, allocations: 1.118 MB / 356.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.2476, allocations: 324.7 kB / 356.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.2481, allocations: 418.2 kB / 357.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.2486, allocations: 373.6 kB / 357.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.2487, allocations: 87.94 kB / 357.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.2489, allocations: 95.94 kB / 357.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2491, allocations: 215.1 kB / 358.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.2495, allocations: 401.7 kB / 358.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.2508, allocations: 1.192 MB / 359.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2508, allocations: 0 / 359.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2508, allocations: 0 / 359.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.2508, allocations: 4 kB / 359.7 MB, free: 4.277 MB / 318.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.002024/0.2528, allocations: 1.267 MB / 361 MB, free: 2.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2529, allocations: 11.98 kB / 361 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.2531, allocations: 131.2 kB / 361.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.2542, allocations: 0.5705 MB / 361.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.684e-05/0.2542, allocations: 77.94 kB / 361.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.2544, allocations: 96 kB / 361.8 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.2562, allocations: 1.082 MB / 362.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.2562, allocations: 11.94 kB / 362.9 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.2563, allocations: 44 kB / 363 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.2563, allocations: 24 kB / 363 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.2575, allocations: 0.5539 MB / 363.6 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005306/0.2628, allocations: 5.12 MB / 368.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006131/0.2634, allocations: 232.9 kB / 368.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.2638, allocations: 145.6 kB / 369 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.2639, allocations: 12.19 kB / 369.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/0.2639, allocations: 50.55 kB / 369.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=28): time 2.225e-06/0.2639, allocations: 0 / 369.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0041/0.268, allocations: 1.577 MB / 370.7 MB, free: 8.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.2681, allocations: 85.05 kB / 370.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.2689, allocations: 0.6526 MB / 371.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.269, allocations: 33.7 kB / 371.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005204/0.2695, allocations: 0.6201 MB / 372.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.2696, allocations: 154.7 kB / 372.2 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.2698, allocations: 138.6 kB / 372.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.27, allocations: 382.8 kB / 372.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.2704, allocations: 153.9 kB / 372.9 MB, free: 6.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.2711, allocations: 0.4896 MB / 373.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.2721, allocations: 0.7074 MB / 374.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.2721, allocations: 4 kB / 374.1 MB, free: 4.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001285/0.2734, allocations: 0.7082 MB / 374.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.2735, allocations: 12 kB / 374.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.2735, allocations: 16.16 kB / 374.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.2735, allocations: 16 kB / 374.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.2742, allocations: 195.7 kB / 375 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.797e-05/0.2742, allocations: 27.86 kB / 375 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.2745, allocations: 35.98 kB / 375.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.2746, allocations: 39.98 kB / 375.1 MB, free: 3.887 MB / 334.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.0003064/0.2749, allocations: 229.5 kB / 375.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.275, allocations: 79.48 kB / 375.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.2752, allocations: 78.55 kB / 375.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.2752, allocations: 7.938 kB / 375.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2752, allocations: 3.938 kB / 375.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2752, allocations: 0 / 375.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.2772, allocations: 1.129 MB / 376.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2772, allocations: 4 kB / 376.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.2777, allocations: 107.8 kB / 376.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-05/0.2777, allocations: 4 kB / 376.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.2778, allocations: 8 kB / 376.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.2778, allocations: 7.922 kB / 376.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2778, allocations: 4.156 kB / 376.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2788, allocations: 0.7012 MB / 377.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.2789, allocations: 71.48 kB / 377.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.279, allocations: 15.97 kB / 377.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.2793, allocations: 19.98 kB / 377.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.2794, allocations: 31.95 kB / 377.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.2794, allocations: 15.98 kB / 377.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000482/0.2799, allocations: 419 kB / 378 MB, free: 0.875 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2799, allocations: 0 / 378 MB, free: 0.875 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000655/0.2805, allocations: 136 kB / 378.2 MB, free: 0.7422 MB / 334.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.000128/0.2807, allocations: 107.2 kB / 378.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000797/0.2814, allocations: 418.3 kB / 378.7 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2815, allocations: 384 / 378.7 MB, free: 228 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.2817, allocations: 151.7 kB / 378.8 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.2823, allocations: 74.86 kB / 378.9 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.285, allocations: 1.67 MB / 380.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.2855, allocations: 417.3 kB / 381 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.2857, allocations: 94 kB / 381.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.2859, allocations: 68.47 kB / 381.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2859, allocations: 0 / 381.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Templates: time 0.01213/0.298, allocations: 4.669 MB / 385.8 MB, free: 9.016 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.462645813007839]