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.001115/0.001115, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002574, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007255/0.0007255, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009315/0.001657, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9343/0.9343, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09177/1.026, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.072e-06/1.072e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.454e-05, allocations: 8.781 kB / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.004079/0.004094, allocations: 5.125 MB / 249.7 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.006109, allocations: 1.577 MB / 251.3 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.006401, allocations: 35.69 kB / 251.3 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.00668, allocations: 221.7 kB / 251.5 MB, free: 7.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.006982, allocations: 213.7 kB / 251.7 MB, free: 7.078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.00752, allocations: 423.2 kB / 252.1 MB, free: 6.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007714/0.008291, allocations: 1.126 MB / 253.3 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.008656, allocations: 336.8 kB / 253.6 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.009186, allocations: 0.6358 MB / 254.2 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.009443, allocations: 294.9 kB / 254.5 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.903e-05/0.009522, allocations: 88 kB / 254.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.009669, allocations: 104 kB / 254.7 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.009767, allocations: 163.2 kB / 254.9 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.01004, allocations: 263.3 kB / 255.1 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005674/0.01061, allocations: 0.7388 MB / 255.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.01062, allocations: 0 / 255.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.01063, allocations: 0 / 255.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.01064, allocations: 0 / 255.9 MB, free: 2.902 MB / 250.7 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.001218/0.01186, allocations: 1.469 MB / 257.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.01189, allocations: 8.031 kB / 257.3 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.01217, allocations: 261 kB / 257.6 MB, free: 1.121 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.01279, allocations: 0.5393 MB / 258.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.01283, allocations: 74 kB / 258.2 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.0129, allocations: 99.98 kB / 258.3 MB, free: 396 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.01364, allocations: 0.9171 MB / 259.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.01366, allocations: 7.891 kB / 259.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.0137, allocations: 47.98 kB / 259.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.01372, allocations: 28 kB / 259.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.01405, allocations: 305.3 kB / 259.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.01681, allocations: 4.808 MB / 264.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.01705, allocations: 152.9 kB / 264.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.01717, allocations: 93.66 kB / 264.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.29e-05/0.01723, allocations: 12 kB / 264.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.01726, allocations: 42.55 kB / 264.7 MB, free: 9.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.01726, allocations: 4 kB / 264.7 MB, free: 9.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001736/0.01899, allocations: 1.082 MB / 265.8 MB, free: 8.422 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.01903, allocations: 88.91 kB / 265.9 MB, free: 8.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003347/0.01937, allocations: 0.605 MB / 266.5 MB, free: 7.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.01938, allocations: 33.7 kB / 266.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.01958, allocations: 0.5353 MB / 267 MB, free: 7.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.01965, allocations: 154.7 kB / 267.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.01974, allocations: 134.5 kB / 267.3 MB, free: 6.832 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01984, allocations: 394.6 kB / 267.7 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.0199, allocations: 57.97 kB / 267.8 MB, free: 6.383 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002613/0.02016, allocations: 417.3 kB / 268.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.0205, allocations: 0.5538 MB / 268.7 MB, free: 5.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.0205, allocations: 7.938 kB / 268.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0004079/0.02091, allocations: 466.2 kB / 269.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.02093, allocations: 11.12 kB / 269.2 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.02094, allocations: 15.94 kB / 269.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.02096, allocations: 20 kB / 269.2 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.02137, allocations: 231 kB / 269.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.02138, allocations: 27.91 kB / 269.5 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.02154, allocations: 32 kB / 269.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.02157, allocations: 35.98 kB / 269.6 MB, free: 4.266 MB / 266.7 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.0001285/0.0217, allocations: 165.4 kB / 269.7 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-05/0.02176, allocations: 59.94 kB / 269.8 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.02184, allocations: 70.64 kB / 269.8 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.02184, allocations: 4 kB / 269.9 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.02185, allocations: 3.938 kB / 269.9 MB, free: 3.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.02185, allocations: 7.984 kB / 269.9 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/0.02262, allocations: 0.7861 MB / 270.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.02262, allocations: 0 / 270.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.02288, allocations: 123.8 kB / 270.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.02293, allocations: 67.64 kB / 270.8 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.02293, allocations: 4 kB / 270.8 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.02295, allocations: 15.98 kB / 270.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.02295, allocations: 3.938 kB / 270.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02296, allocations: 4 kB / 270.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.02332, allocations: 466 kB / 271.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.02336, allocations: 11.98 kB / 271.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.02349, allocations: 19.94 kB / 271.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.02354, allocations: 39.89 kB / 271.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.02355, allocations: 8 kB / 271.4 MB, free: 2.332 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.02372, allocations: 276.5 kB / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02372, allocations: 0 / 271.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.02406, allocations: 140 kB / 271.8 MB, free: 1.926 MB / 266.7 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 9.45e-05/0.02415, allocations: 88.36 kB / 271.9 MB, free: 1.832 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.02442, allocations: 285.6 kB / 272.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-05/0.02445, allocations: 16.44 kB / 272.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.02453, allocations: 97.23 kB / 272.3 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.02485, allocations: 123.3 kB / 272.4 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.02808, allocations: 1.686 MB / 274.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.02819, allocations: 182.6 kB / 274.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.02834, allocations: 90.06 kB / 274.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.02852, allocations: 171.3 kB / 274.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02852, allocations: 0 / 274.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of Templates: time 0.008777/0.0373, allocations: 5.356 MB / 279.9 MB, free: 9.852 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5907685393467546]