Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001154/0.001154, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009571/0.0009571, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2356, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004639/0.2403, allocations: 3.696 MB / 404.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.2426, allocations: 1.421 MB / 405.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.2427, allocations: 12 kB / 405.8 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.2444, allocations: 0.7528 MB / 406.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.2455, allocations: 0.547 MB / 407.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007591/0.2463, allocations: 421.7 kB / 407.6 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004041/0.2467, allocations: 450.1 kB / 408 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.2473, allocations: 390.9 kB / 408.4 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.2476, allocations: 211.2 kB / 408.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.2479, allocations: 267 kB / 408.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.2479, allocations: 44 kB / 408.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.2483, allocations: 211.7 kB / 409.1 MB, free: 472 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.788e-05/0.2484, allocations: 103.6 kB / 409.2 MB, free: 368 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.2486, allocations: 234.9 kB / 409.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.2493, allocations: 0.6736 MB / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2493, allocations: 4 kB / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2493, allocations: 0 / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2493, allocations: 0 / 410.1 MB, free: 15.45 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00194/0.2513, allocations: 0.9014 MB / 411 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2513, allocations: 15.89 kB / 411 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.2548, allocations: 499.9 kB / 411.5 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.2551, allocations: 303.7 kB / 411.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.2552, allocations: 37.69 kB / 411.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.452e-05/0.2553, allocations: 56.28 kB / 411.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.2561, allocations: 0.522 MB / 412.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.2562, allocations: 4 kB / 412.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.2562, allocations: 20 kB / 412.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.2563, allocations: 12 kB / 412.5 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009971/0.2573, allocations: 0.5634 MB / 413 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.2598, allocations: 1.849 MB / 414.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.2618, allocations: 2.188 MB / 417.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.2621, allocations: 214.1 kB / 417.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-05/0.2622, allocations: 93.52 kB / 417.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.2622, allocations: 39 kB / 417.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.734e-06/0.2623, allocations: 0 / 417.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001808/0.2641, allocations: 0.7894 MB / 418.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.2641, allocations: 59.84 kB / 418.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2643, allocations: 186.2 kB / 418.4 MB, free: 6.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2643, allocations: 37.7 kB / 418.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.2645, allocations: 216.5 kB / 418.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.2646, allocations: 157.6 kB / 418.8 MB, free: 6.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.2647, allocations: 90.16 kB / 418.9 MB, free: 5.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2648, allocations: 338.8 kB / 419.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.2651, allocations: 149 kB / 419.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.2655, allocations: 232.8 kB / 419.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.2661, allocations: 399.5 kB / 420 MB, free: 4.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2661, allocations: 0 / 420 MB, free: 4.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000957/0.267, allocations: 0.5316 MB / 420.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2671, allocations: 8 kB / 420.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.2671, allocations: 0 / 420.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.2674, allocations: 100.8 kB / 420.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.2678, allocations: 87.89 kB / 420.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.2697, allocations: 2.037 MB / 422.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.27, allocations: 51.55 kB / 422.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.27, allocations: 20.06 kB / 422.8 MB, free: 1.809 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0001741/0.2702, allocations: 167.4 kB / 423 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.2703, allocations: 27.62 kB / 423 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.2713, allocations: 0.5512 MB / 423.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2713, allocations: 4 kB / 423.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2714, allocations: 4 kB / 423.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2714, allocations: 3.984 kB / 423.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.273, allocations: 1.119 MB / 424.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.273, allocations: 3.938 kB / 424.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.2733, allocations: 71.91 kB / 424.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.2736, allocations: 92.92 kB / 424.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.2736, allocations: 12 kB / 424.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.2755, allocations: 2.029 MB / 426.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2755, allocations: 4.062 kB / 426.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.2767, allocations: 0.7971 MB / 427.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/0.2768, allocations: 116.6 kB / 427.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.2769, allocations: 12 kB / 427.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.2771, allocations: 19.97 kB / 427.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.2772, allocations: 32.39 kB / 427.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.2772, allocations: 12 kB / 427.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.2773, allocations: 144.2 kB / 428 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2773, allocations: 0 / 428 MB, free: 12.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005433/0.2779, allocations: 139.7 kB / 428.2 MB, free: 12.21 MB / 350.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 (42): * Single equations (assignments): 41 * 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.0002161/0.2781, allocations: 139.1 kB / 428.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000976/0.2791, allocations: 0.5697 MB / 428.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2791, allocations: 0 / 428.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.2796, allocations: 381.4 kB / 429.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.28, allocations: 35.98 kB / 429.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2812, allocations: 0.7902 MB / 430.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2815, allocations: 0.8084 MB / 430.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.2817, allocations: 46.91 kB / 430.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/0.2818, allocations: 31.42 kB / 431 MB, free: 9.328 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2818, allocations: 0 / 431 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Templates: time 0.008227/0.29, allocations: 4.355 MB / 435.3 MB, free: 4.984 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches