Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.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.002182/0.002182, allocations: 99.53 kB / 20.96 MB, free: 3.457 MB / 18.57 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.003091/0.003091, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.629/1.629, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.542e-05/3.8e-05, allocations: 6.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004931/0.004969, allocations: 2.861 MB / 275.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.006502, allocations: 0.6931 MB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.006648, allocations: 8 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.00686, allocations: 59.44 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.007067, allocations: 99.06 kB / 275.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.007385, allocations: 87.8 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.00785, allocations: 386.2 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.008091, allocations: 109.8 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.008508, allocations: 227.5 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.008717, allocations: 123.6 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.008778, allocations: 32 kB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.008844, allocations: 32 kB / 276.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.645e-05/0.008931, allocations: 75.73 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.00908, allocations: 111.8 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000533/0.009613, allocations: 394.6 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.009617, allocations: 0 / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009618, allocations: 0 / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.009625, allocations: 0 / 277.5 MB, free: 12.5 MB / 266.7 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.00108/0.01071, allocations: 0.6517 MB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.01075, allocations: 15.98 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.01087, allocations: 64.69 kB / 278.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.01123, allocations: 204.1 kB / 278.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.01125, allocations: 21.03 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.01132, allocations: 32.38 kB / 278.5 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.01187, allocations: 318 kB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.01189, allocations: 12.17 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.01192, allocations: 8.375 kB / 278.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01193, allocations: 11.94 kB / 278.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004365/0.01237, allocations: 186.5 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.01421, allocations: 0.9455 MB / 279.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.01454, allocations: 151.1 kB / 280.1 MB, free: 9.742 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.0147, allocations: 79.59 kB / 280.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.01472, allocations: 0 / 280.1 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.01476, allocations: 37.39 kB / 280.2 MB, free: 9.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.41e-07/0.01476, allocations: 4 kB / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000523/0.01529, allocations: 205.6 kB / 280.4 MB, free: 9.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.01533, allocations: 55.41 kB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.01561, allocations: 275 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.01564, allocations: 25.7 kB / 280.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.01583, allocations: 251 kB / 281 MB, free: 8.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.808e-05/0.01591, allocations: 75.41 kB / 281.1 MB, free: 8.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.01601, allocations: 59.36 kB / 281.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/0.0163, allocations: 0.5118 MB / 281.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.01645, allocations: 59.97 kB / 281.7 MB, free: 8.047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.01667, allocations: 133.8 kB / 281.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.01704, allocations: 205.6 kB / 282 MB, free: 7.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01704, allocations: 0 / 282 MB, free: 7.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004701/0.01751, allocations: 241.4 kB / 282.3 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01753, allocations: 7.281 kB / 282.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.01754, allocations: 7.938 kB / 282.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.01755, allocations: 0 / 282.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.01783, allocations: 63.91 kB / 282.3 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01784, allocations: 4 kB / 282.3 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.01798, allocations: 23.81 kB / 282.4 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.018, allocations: 8 kB / 282.4 MB, free: 7.305 MB / 266.7 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.0001727/0.01818, allocations: 184.5 kB / 282.5 MB, free: 7.113 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.01823, allocations: 23.91 kB / 282.6 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.01863, allocations: 187.3 kB / 282.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.01864, allocations: 3.984 kB / 282.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.01864, allocations: 0 / 282.8 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.01865, allocations: 4 kB / 282.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.01915, allocations: 260.5 kB / 283 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01915, allocations: 3.984 kB / 283 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.01943, allocations: 47.98 kB / 283.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01943, allocations: 7.875 kB / 283.1 MB, free: 6.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.01944, allocations: 3.984 kB / 283.1 MB, free: 6.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.01945, allocations: 7.938 kB / 283.1 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01945, allocations: 4 kB / 283.1 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.02006, allocations: 390.9 kB / 283.5 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.0201, allocations: 19.8 kB / 283.5 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.02013, allocations: 8 kB / 283.5 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.02029, allocations: 19.92 kB / 283.5 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.02034, allocations: 7.984 kB / 283.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.02036, allocations: 11.98 kB / 283.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.02052, allocations: 183.2 kB / 283.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02052, allocations: 0 / 283.7 MB, free: 5.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.02087, allocations: 75.78 kB / 283.8 MB, free: 5.812 MB / 266.7 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.0001357/0.021, allocations: 107.2 kB / 283.9 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.02139, allocations: 159.5 kB / 284 MB, free: 5.539 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.0214, allocations: 4 kB / 284 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.02155, allocations: 75.84 kB / 284.1 MB, free: 5.457 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.02187, allocations: 32.7 kB / 284.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.0232, allocations: 0.6998 MB / 284.9 MB, free: 4.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.02338, allocations: 163.2 kB / 285 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.02346, allocations: 17.62 kB / 285 MB, free: 4.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.02352, allocations: 20.5 kB / 285.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02352, allocations: 0 / 285.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of Templates: time 0.005935/0.02945, allocations: 1.783 MB / 286.8 MB, free: 2.719 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.723924455000088]