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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001202/0.001202, allocations: 121.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 199.9 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001378, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.368, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.005041/0.3731, allocations: 2.905 MB / 412.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.3747, allocations: 0.7049 MB / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.3749, allocations: 8 kB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.3752, allocations: 59.42 kB / 412.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.3755, allocations: 87.2 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.3759, allocations: 91.81 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000514/0.3764, allocations: 378.4 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.3767, allocations: 157.3 kB / 413.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.3771, allocations: 151.5 kB / 413.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3773, allocations: 151.3 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.3774, allocations: 32 kB / 414 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.3775, allocations: 32 kB / 414 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.3776, allocations: 79.75 kB / 414.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.3777, allocations: 171.1 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.3781, allocations: 375.8 kB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3782, allocations: 0 / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.579e-06/0.3782, allocations: 0 / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3782, allocations: 3.938 kB / 414.6 MB, free: 12.21 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.0009844/0.3792, allocations: 0.6121 MB / 415.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3792, allocations: 8.031 kB / 415.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.3793, allocations: 36.56 kB / 415.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.3797, allocations: 259.7 kB / 415.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3798, allocations: 25.03 kB / 415.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.3798, allocations: 36.31 kB / 415.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.3803, allocations: 274.4 kB / 415.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3803, allocations: 4 kB / 415.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.3804, allocations: 12 kB / 415.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3804, allocations: 8 kB / 415.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.3808, allocations: 202.5 kB / 416.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.3823, allocations: 0.9713 MB / 417 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.3826, allocations: 166.6 kB / 417.2 MB, free: 9.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.3829, allocations: 76.83 kB / 417.3 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3829, allocations: 3.938 kB / 417.3 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.383, allocations: 38.55 kB / 417.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.383, allocations: 0 / 417.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005308/0.3835, allocations: 217.5 kB / 417.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.3836, allocations: 55.41 kB / 417.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3838, allocations: 218.7 kB / 417.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.3838, allocations: 25.7 kB / 417.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.384, allocations: 192 kB / 418 MB, free: 8.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.384, allocations: 59.11 kB / 418.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.3841, allocations: 49.7 kB / 418.1 MB, free: 8.461 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3842, allocations: 330.8 kB / 418.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.3844, allocations: 67.97 kB / 418.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.3846, allocations: 121.9 kB / 418.6 MB, free: 7.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.3849, allocations: 181.8 kB / 418.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.385, allocations: 0 / 418.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000429/0.3854, allocations: 249 kB / 419 MB, free: 7.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3854, allocations: 8 kB / 419.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3854, allocations: 0 / 419.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.3855, allocations: 4 kB / 419.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.3858, allocations: 63.91 kB / 419.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.3858, allocations: 11.98 kB / 419.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.3859, allocations: 23.83 kB / 419.2 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.386, allocations: 15.88 kB / 419.2 MB, free: 7.348 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.0001481/0.3861, allocations: 149.8 kB / 419.3 MB, free: 7.191 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.3862, allocations: 19.72 kB / 419.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004178/0.3866, allocations: 189.6 kB / 419.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3866, allocations: 7.938 kB / 419.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3866, allocations: 0 / 419.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3866, allocations: 0 / 419.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00043/0.3871, allocations: 325.3 kB / 419.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3871, allocations: 0 / 419.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.3874, allocations: 55.91 kB / 419.9 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3874, allocations: 0 / 419.9 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.3874, allocations: 4 kB / 419.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3874, allocations: 4 kB / 419.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3874, allocations: 0 / 419.9 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.3881, allocations: 358.9 kB / 420.3 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/0.3882, allocations: 92.98 kB / 420.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.3882, allocations: 0 / 420.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.3884, allocations: 19.98 kB / 420.4 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.3885, allocations: 7.984 kB / 420.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.3885, allocations: 8 kB / 420.4 MB, free: 6.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.3887, allocations: 152.6 kB / 420.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3887, allocations: 0 / 420.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003597/0.389, allocations: 75.69 kB / 420.6 MB, free: 5.812 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.0002138/0.3893, allocations: 111.2 kB / 420.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004931/0.3898, allocations: 154.5 kB / 420.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3898, allocations: 0 / 420.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3899, allocations: 76.14 kB / 420.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.3904, allocations: 39.02 kB / 421 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.392, allocations: 0.8304 MB / 421.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.3925, allocations: 0.7634 MB / 422.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.219e-05/0.3926, allocations: 17.95 kB / 422.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.3927, allocations: 23.42 kB / 422.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3927, allocations: 0 / 422.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of Templates: time 0.005747/0.3984, allocations: 2.038 MB / 424.7 MB, free: 1.73 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches