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.001107/0.001107, allocations: 114.4 kB / 17.73 MB, free: 5.359 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.001114/0.001114, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.414/1.414, 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.001486/0.001486, allocations: 55.91 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005325/0.1111, allocations: 3.738 MB / 378.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2098/0.3209, allocations: 1.454 MB / 380.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.3212, allocations: 9.625 kB / 380.3 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.3229, allocations: 0.7522 MB / 381.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.3242, allocations: 0.5659 MB / 381.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.3249, allocations: 425.7 kB / 382.1 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.3255, allocations: 495.4 kB / 382.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006858/0.3262, allocations: 392.3 kB / 382.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.3266, allocations: 216.3 kB / 383.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.3269, allocations: 280.9 kB / 383.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.327, allocations: 43.34 kB / 383.5 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.3275, allocations: 207.5 kB / 383.7 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.3276, allocations: 110.7 kB / 383.8 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.3278, allocations: 249.3 kB / 384 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.3287, allocations: 0.7082 MB / 384.7 MB, free: 8.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3287, allocations: 0 / 384.7 MB, free: 8.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3287, allocations: 0.75 kB / 384.7 MB, free: 8.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.3287, allocations: 0 / 384.7 MB, free: 8.895 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.002096/0.3308, allocations: 0.9337 MB / 385.7 MB, free: 8.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3309, allocations: 13.31 kB / 385.7 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/0.3353, allocations: 0.5886 MB / 386.3 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.3358, allocations: 308.6 kB / 386.6 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.3359, allocations: 44.44 kB / 386.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.291e-05/0.336, allocations: 58.58 kB / 386.7 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009972/0.337, allocations: 0.5563 MB / 387.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.337, allocations: 4.859 kB / 387.2 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.3371, allocations: 24.97 kB / 387.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3371, allocations: 15.58 kB / 387.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3382, allocations: 0.6316 MB / 387.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.3412, allocations: 2.03 MB / 389.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001967/0.3431, allocations: 3.014 MB / 393 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.3435, allocations: 222.1 kB / 393.2 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-05/0.3436, allocations: 88.73 kB / 393.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.3436, allocations: 40.38 kB / 393.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=49): time 2.044e-06/0.3436, allocations: 4 kB / 393.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.001894/0.3455, allocations: 0.7909 MB / 394.1 MB, free: 2.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.3455, allocations: 57.06 kB / 394.1 MB, free: 2.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.3457, allocations: 205.8 kB / 394.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.3458, allocations: 31.11 kB / 394.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.3459, allocations: 241 kB / 394.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.853e-05/0.346, allocations: 167.5 kB / 394.8 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3462, allocations: 94.5 kB / 394.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.835e-05/0.3462, allocations: 336.7 kB / 395.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.3465, allocations: 159.7 kB / 395.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.3469, allocations: 277.3 kB / 395.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.3476, allocations: 464.8 kB / 396.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3476, allocations: 1.469 kB / 396.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009933/0.3486, allocations: 0.5827 MB / 396.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3486, allocations: 7.312 kB / 396.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3486, allocations: 11.59 kB / 396.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003538/0.349, allocations: 91.66 kB / 396.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.3494, allocations: 106.3 kB / 396.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.3515, allocations: 2.05 MB / 398.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3518, allocations: 53.64 kB / 399 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.3518, allocations: 20.97 kB / 399 MB, free: 14.7 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.0002213/0.3521, allocations: 175.3 kB / 399.2 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.3521, allocations: 30.22 kB / 399.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.3533, allocations: 0.5472 MB / 399.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3533, allocations: 13.69 kB / 399.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3533, allocations: 2.656 kB / 399.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3533, allocations: 2.906 kB / 399.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.3551, allocations: 1.133 MB / 400.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3551, allocations: 5.266 kB / 400.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3555, allocations: 79.41 kB / 401 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.3558, allocations: 90.84 kB / 401.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3558, allocations: 8.359 kB / 401.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.3578, allocations: 2.038 MB / 403.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3578, allocations: 0 / 403.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.3591, allocations: 0.8055 MB / 403.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.3592, allocations: 111.9 kB / 404 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.3593, allocations: 10.22 kB / 404 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.3595, allocations: 15.19 kB / 404.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3596, allocations: 34.83 kB / 404.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3597, allocations: 18.05 kB / 404.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3598, allocations: 145.8 kB / 404.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3598, allocations: 4.062 kB / 404.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006962/0.3605, allocations: 161.3 kB / 404.4 MB, free: 11.05 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.0002442/0.3608, allocations: 136.6 kB / 404.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.3619, allocations: 0.5901 MB / 405.1 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3619, allocations: 8.188 kB / 405.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000601/0.3626, allocations: 381.9 kB / 405.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3629, allocations: 36.77 kB / 405.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.3644, allocations: 0.8395 MB / 406.4 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.3649, allocations: 0.8188 MB / 407.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.3651, allocations: 49.72 kB / 407.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.3652, allocations: 39.83 kB / 407.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3652, allocations: 3.938 kB / 407.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of Templates: time 0.009139/0.3743, allocations: 4.465 MB / 411.8 MB, free: 7.445 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