Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001956/0.001956, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002296/0.002296, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.499/1.499, allocations: 230.4 MB / 251.1 MB, free: 8.449 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003239/0.003239, allocations: 67.83 kB / 369 MB, free: 6.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3021, allocations: 53.32 MB / 422.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004661/0.3068, allocations: 2.921 MB / 425.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3082, allocations: 0.7166 MB / 425.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.3084, allocations: 8 kB / 425.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3086, allocations: 55.44 kB / 426 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.3088, allocations: 91.19 kB / 426.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.3091, allocations: 87.83 kB / 426.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.3096, allocations: 374.4 kB / 426.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.3098, allocations: 117.4 kB / 426.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.3101, allocations: 147.5 kB / 426.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.3104, allocations: 155.3 kB / 426.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.3104, allocations: 32 kB / 427 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.3105, allocations: 32 kB / 427 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.419e-05/0.3105, allocations: 71.75 kB / 427.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3107, allocations: 179.1 kB / 427.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.3112, allocations: 378 kB / 427.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3112, allocations: 0 / 427.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3112, allocations: 3.938 kB / 427.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3113, allocations: 0 / 427.6 MB, free: 2.465 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.00107/0.3123, allocations: 0.6147 MB / 428.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3124, allocations: 8.031 kB / 428.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.3125, allocations: 40.7 kB / 428.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.3129, allocations: 271.8 kB / 428.5 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3129, allocations: 25.03 kB / 428.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.313, allocations: 40.31 kB / 428.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.3135, allocations: 274.4 kB / 428.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3135, allocations: 0 / 428.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.3136, allocations: 12 kB / 428.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.3136, allocations: 8 kB / 428.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.314, allocations: 202.5 kB / 429.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.3157, allocations: 0.9756 MB / 430.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.3162, allocations: 154.6 kB / 430.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.3164, allocations: 68.83 kB / 430.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.3164, allocations: 4 kB / 430.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3164, allocations: 38.5 kB / 430.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.322e-06/0.3164, allocations: 4 kB / 430.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006837/0.3171, allocations: 217.6 kB / 430.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.3172, allocations: 55.41 kB / 430.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3174, allocations: 206.8 kB / 430.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3174, allocations: 33.7 kB / 430.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3176, allocations: 196.3 kB / 431 MB, free: 14.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.3176, allocations: 75.38 kB / 431.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.3177, allocations: 45.7 kB / 431.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3179, allocations: 330.8 kB / 431.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.318, allocations: 59.97 kB / 431.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.3182, allocations: 122 kB / 431.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.3186, allocations: 181.8 kB / 431.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3186, allocations: 8 kB / 431.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004466/0.319, allocations: 241.2 kB / 432.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.3191, allocations: 14.95 kB / 432.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3191, allocations: 0 / 432.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3191, allocations: 4 kB / 432.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.3194, allocations: 63.91 kB / 432.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3194, allocations: 4 kB / 432.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3195, allocations: 27.94 kB / 432.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.3195, allocations: 8 kB / 432.2 MB, free: 13.61 MB / 350.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.0001394/0.3197, allocations: 141.7 kB / 432.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/0.3197, allocations: 23.86 kB / 432.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004341/0.3201, allocations: 195.4 kB / 432.5 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3201, allocations: 7.938 kB / 432.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3201, allocations: 4 kB / 432.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3201, allocations: 0 / 432.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.3205, allocations: 325.3 kB / 432.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3205, allocations: 0 / 432.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.3208, allocations: 51.91 kB / 432.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3208, allocations: 4 kB / 432.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3208, allocations: 0 / 432.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3208, allocations: 0 / 432.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3208, allocations: 4 kB / 432.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.3214, allocations: 347.2 kB / 433.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.3215, allocations: 104.9 kB / 433.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.3215, allocations: 4.062 kB / 433.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3217, allocations: 15.98 kB / 433.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.3217, allocations: 11.98 kB / 433.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3217, allocations: 8 kB / 433.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.3219, allocations: 148.6 kB / 433.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3219, allocations: 0 / 433.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.3222, allocations: 75.78 kB / 433.6 MB, free: 12.07 MB / 350.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.0001517/0.3224, allocations: 111.2 kB / 433.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004065/0.3228, allocations: 154.6 kB / 433.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3228, allocations: 0 / 433.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3229, allocations: 67.91 kB / 433.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3233, allocations: 31.88 kB / 434 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3247, allocations: 0.8452 MB / 434.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.3252, allocations: 0.7673 MB / 435.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.019e-05/0.3253, allocations: 17.95 kB / 435.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.3253, allocations: 23.44 kB / 435.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3253, allocations: 0 / 435.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of Templates: time 0.005946/0.3313, allocations: 2.073 MB / 437.7 MB, free: 7.941 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches