Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001447/0.001447, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001828/0.001828, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.511/1.511, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 47.86 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2723, allocations: 52.13 MB / 420.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004301/0.2766, allocations: 2.93 MB / 423.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.2778, allocations: 0.6738 MB / 424.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.278, allocations: 8 kB / 424.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2782, allocations: 63.36 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.2784, allocations: 87.19 kB / 424.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.2786, allocations: 91.83 kB / 424.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.2791, allocations: 386.4 kB / 425.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.2793, allocations: 113.3 kB / 425.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.2795, allocations: 143.5 kB / 425.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.2797, allocations: 159.3 kB / 425.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.2798, allocations: 32 kB / 425.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.2798, allocations: 32 kB / 425.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.2799, allocations: 67.77 kB / 425.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.2801, allocations: 167.2 kB / 425.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.2805, allocations: 383.6 kB / 426.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2805, allocations: 4 kB / 426.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2805, allocations: 4 kB / 426.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2805, allocations: 0 / 426.2 MB, free: 9.816 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009669/0.2815, allocations: 0.6117 MB / 426.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2815, allocations: 12.03 kB / 426.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.2816, allocations: 40.7 kB / 426.8 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.282, allocations: 267.8 kB / 427.1 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.282, allocations: 21.03 kB / 427.1 MB, free: 8.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.2821, allocations: 36.33 kB / 427.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.2826, allocations: 274.4 kB / 427.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.2826, allocations: 0 / 427.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.2827, allocations: 12 kB / 427.4 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2827, allocations: 8 kB / 427.4 MB, free: 8.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.2832, allocations: 214.4 kB / 427.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.2848, allocations: 0.9794 MB / 428.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.2851, allocations: 150.6 kB / 428.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.2853, allocations: 76.75 kB / 428.9 MB, free: 6.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.2853, allocations: 4 kB / 428.9 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.2854, allocations: 42.5 kB / 428.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2854, allocations: 0 / 428.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005435/0.2859, allocations: 205 kB / 429.1 MB, free: 6.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.286, allocations: 55.41 kB / 429.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.2862, allocations: 215 kB / 429.4 MB, free: 6.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.2862, allocations: 29.7 kB / 429.4 MB, free: 6.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.2863, allocations: 192.4 kB / 429.6 MB, free: 6.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.2864, allocations: 67.38 kB / 429.7 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.2865, allocations: 49.7 kB / 429.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2866, allocations: 330.8 kB / 430 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.2868, allocations: 67.95 kB / 430.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.287, allocations: 117.8 kB / 430.2 MB, free: 5.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.2873, allocations: 185.8 kB / 430.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2873, allocations: 0 / 430.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004733/0.2878, allocations: 253.2 kB / 430.6 MB, free: 5.066 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2878, allocations: 4 kB / 430.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2878, allocations: 4 kB / 430.6 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2878, allocations: 4.125 kB / 430.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.2881, allocations: 63.91 kB / 430.7 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2881, allocations: 4 kB / 430.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.2883, allocations: 23.83 kB / 430.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2883, allocations: 12 kB / 430.7 MB, free: 4.953 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.0001324/0.2884, allocations: 141.7 kB / 430.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.2885, allocations: 19.86 kB / 430.9 MB, free: 4.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.2889, allocations: 191.5 kB / 431.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2889, allocations: 0 / 431.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2889, allocations: 0 / 431.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2889, allocations: 0 / 431.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.2893, allocations: 325.3 kB / 431.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2893, allocations: 0 / 431.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.2896, allocations: 55.91 kB / 431.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2896, allocations: 0 / 431.5 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2896, allocations: 4 kB / 431.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2896, allocations: 7.984 kB / 431.5 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2896, allocations: 3.938 kB / 431.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.2902, allocations: 351.2 kB / 431.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.2903, allocations: 96.98 kB / 431.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.2903, allocations: 12 kB / 431.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.2905, allocations: 19.98 kB / 431.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.2905, allocations: 7.984 kB / 432 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2905, allocations: 7.938 kB / 432 MB, free: 3.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.2907, allocations: 156.6 kB / 432.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2907, allocations: 0 / 432.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003179/0.291, allocations: 71.78 kB / 432.2 MB, free: 3.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.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 (19): * Single equations (assignments): 19 * 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.0001332/0.2911, allocations: 103.2 kB / 432.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.2915, allocations: 155.8 kB / 432.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2915, allocations: 0 / 432.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2917, allocations: 78.47 kB / 432.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.292, allocations: 24.06 kB / 432.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.2935, allocations: 0.8376 MB / 433.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.2939, allocations: 0.7672 MB / 434.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.051e-05/0.294, allocations: 29.92 kB / 434.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.294, allocations: 19.44 kB / 434.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.294, allocations: 0 / 434.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of Templates: time 0.005955/0.3, allocations: 2.098 MB / 436.3 MB, free: 15.26 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.599318258464336]