Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 110.5 kB / 17.73 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 183.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 51.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09975, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.006492/0.1063, allocations: 3.73 MB / 378.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2199/0.3262, allocations: 1.46 MB / 380.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.3266, allocations: 12.16 kB / 380.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.3282, allocations: 0.7583 MB / 381.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.3294, allocations: 0.564 MB / 381.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000787/0.3302, allocations: 430.2 kB / 382.1 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.3307, allocations: 491.3 kB / 382.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006829/0.3314, allocations: 389.1 kB / 382.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003627/0.3318, allocations: 216.1 kB / 383.2 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.3321, allocations: 280.8 kB / 383.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.3322, allocations: 43.28 kB / 383.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.3326, allocations: 211.3 kB / 383.7 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.3327, allocations: 108.2 kB / 383.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.3329, allocations: 252.1 kB / 384 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008273/0.3338, allocations: 0.7005 MB / 384.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3338, allocations: 0.6094 kB / 384.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3338, allocations: 5.438 kB / 384.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3338, allocations: 0 / 384.7 MB, free: 8.91 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001971/0.3358, allocations: 0.9329 MB / 385.7 MB, free: 8.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3358, allocations: 8.438 kB / 385.7 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004251/0.3401, allocations: 0.5895 MB / 386.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.3405, allocations: 312.3 kB / 386.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.3405, allocations: 48.25 kB / 386.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.921e-05/0.3406, allocations: 53.94 kB / 386.7 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.3416, allocations: 0.5562 MB / 387.2 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.3416, allocations: 1.281 kB / 387.2 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.3417, allocations: 24.31 kB / 387.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3417, allocations: 15.56 kB / 387.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.3429, allocations: 0.6306 MB / 387.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.346, allocations: 2.035 MB / 389.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.348, allocations: 3.013 MB / 393 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.3483, allocations: 220.2 kB / 393.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/0.3484, allocations: 88.61 kB / 393.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3484, allocations: 41.41 kB / 393.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.3485, allocations: 0 / 393.3 MB, free: 2.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001872/0.3503, allocations: 0.7949 MB / 394.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.3504, allocations: 57.56 kB / 394.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.3506, allocations: 201.5 kB / 394.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3506, allocations: 38.73 kB / 394.4 MB, free: 2.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3507, allocations: 237.2 kB / 394.6 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.3508, allocations: 168.3 kB / 394.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.351, allocations: 101.6 kB / 394.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.3511, allocations: 337.2 kB / 395.2 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.3514, allocations: 159.5 kB / 395.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.3518, allocations: 276.7 kB / 395.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.3524, allocations: 464.9 kB / 396.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3524, allocations: 1.5 kB / 396.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001022/0.3535, allocations: 0.5777 MB / 396.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3535, allocations: 7.25 kB / 396.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.3535, allocations: 7.812 kB / 396.7 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.3539, allocations: 95.05 kB / 396.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.3543, allocations: 108.2 kB / 396.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00212/0.3564, allocations: 2.054 MB / 398.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.3567, allocations: 49.77 kB / 399 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.3568, allocations: 21.41 kB / 399 MB, free: 14.74 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.357, allocations: 171.6 kB / 399.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.3571, allocations: 33.45 kB / 399.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3583, allocations: 0.551 MB / 399.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.3583, allocations: 11 kB / 399.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3583, allocations: 0.5625 kB / 399.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3583, allocations: 9.938 kB / 399.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.3602, allocations: 1.128 MB / 400.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3602, allocations: 5.875 kB / 400.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.3606, allocations: 78.88 kB / 401 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.3609, allocations: 91.22 kB / 401.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.3609, allocations: 10.75 kB / 401.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.3631, allocations: 2.037 MB / 403.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3631, allocations: 2.266 kB / 403.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.3645, allocations: 0.8045 MB / 403.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3647, allocations: 113.8 kB / 404 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.3647, allocations: 11.95 kB / 404.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.365, allocations: 18.83 kB / 404.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.637e-05/0.3651, allocations: 34.8 kB / 404.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.3651, allocations: 14.58 kB / 404.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3653, allocations: 145.2 kB / 404.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3653, allocations: 0 / 404.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006813/0.3659, allocations: 157 kB / 404.4 MB, free: 11.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002777/0.3662, allocations: 137.6 kB / 404.5 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.3675, allocations: 0.5931 MB / 405.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3675, allocations: 2.312 kB / 405.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006022/0.3681, allocations: 392.6 kB / 405.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3684, allocations: 35.42 kB / 405.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.37, allocations: 0.8438 MB / 406.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.3705, allocations: 0.8185 MB / 407.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.3707, allocations: 49.31 kB / 407.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.3708, allocations: 31.62 kB / 407.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3708, allocations: 4 kB / 407.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of Templates: time 0.009732/0.3805, allocations: 4.475 MB / 411.8 MB, free: 7.492 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches