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.001493/0.001493, allocations: 102.5 kB / 17.05 MB, free: 6.125 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.001648/0.001648, allocations: 194.9 kB / 18 MB, free: 5.199 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 43.94 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2576, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004595/0.2622, allocations: 3.692 MB / 404.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.2644, allocations: 1.429 MB / 405.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.2645, allocations: 8 kB / 405.8 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.2662, allocations: 0.7605 MB / 406.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.2673, allocations: 0.5386 MB / 407.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.268, allocations: 422.5 kB / 407.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004481/0.2685, allocations: 458 kB / 408 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006116/0.2691, allocations: 397.6 kB / 408.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.2694, allocations: 199.3 kB / 408.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.2697, allocations: 274.9 kB / 408.9 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.2698, allocations: 40 kB / 408.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.2702, allocations: 207.8 kB / 409.1 MB, free: 476 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.2703, allocations: 111.5 kB / 409.2 MB, free: 364 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.2705, allocations: 238.8 kB / 409.4 MB, free: 124 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.2712, allocations: 0.6671 MB / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2712, allocations: 0 / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2712, allocations: 0 / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2712, 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.002026/0.2732, allocations: 0.9092 MB / 411 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2733, allocations: 15.88 kB / 411 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003599/0.2769, allocations: 495.9 kB / 411.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.2773, allocations: 303.6 kB / 411.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.2773, allocations: 37.69 kB / 411.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-05/0.2774, allocations: 52.28 kB / 411.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.2784, allocations: 0.5181 MB / 412.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.2784, allocations: 0 / 412.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.2785, allocations: 24 kB / 412.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2785, allocations: 16 kB / 412.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009944/0.2795, allocations: 0.5634 MB / 413 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.2822, allocations: 1.857 MB / 414.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.2841, allocations: 2.18 MB / 417.1 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/0.2845, allocations: 208.6 kB / 417.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.104e-05/0.2846, allocations: 97.53 kB / 417.4 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2846, allocations: 31 kB / 417.4 MB, free: 7.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.885e-06/0.2846, allocations: 3.984 kB / 417.4 MB, free: 7.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001859/0.2865, allocations: 0.7933 MB / 418.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.2865, allocations: 55.84 kB / 418.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.2867, allocations: 190.2 kB / 418.4 MB, free: 6.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.2867, allocations: 33.69 kB / 418.5 MB, free: 6.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2869, allocations: 220.5 kB / 418.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.287, allocations: 161.6 kB / 418.8 MB, free: 6.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.2871, allocations: 86.16 kB / 418.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2872, allocations: 338.8 kB / 419.2 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.2875, allocations: 149.1 kB / 419.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.2878, allocations: 232.8 kB / 419.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.2885, allocations: 399.4 kB / 420 MB, free: 4.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2885, allocations: 0 / 420 MB, free: 4.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009582/0.2894, allocations: 0.5356 MB / 420.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2895, allocations: 7.938 kB / 420.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2895, allocations: 4 kB / 420.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.2898, allocations: 88.73 kB / 420.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.2903, allocations: 95.89 kB / 420.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002832/0.2932, allocations: 2.033 MB / 422.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.2935, allocations: 51.52 kB / 422.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.2935, allocations: 20 kB / 422.8 MB, free: 1.816 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.0002771/0.2938, allocations: 169.8 kB / 423 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2939, allocations: 27.62 kB / 423 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.2956, allocations: 0.5473 MB / 423.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.2957, allocations: 4 kB / 423.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2957, allocations: 0 / 423.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.2957, allocations: 3.984 kB / 423.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.2984, allocations: 1.123 MB / 424.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2984, allocations: 3.938 kB / 424.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.2989, allocations: 71.91 kB / 424.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004051/0.2993, allocations: 92.92 kB / 424.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.2994, allocations: 12 kB / 424.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002977/0.3024, allocations: 2.029 MB / 426.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3024, allocations: 4.031 kB / 426.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.3046, allocations: 0.7893 MB / 427.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3047, allocations: 116.6 kB / 427.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.3048, allocations: 7.938 kB / 427.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.3052, allocations: 28.05 kB / 427.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3054, allocations: 32.39 kB / 427.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.3054, allocations: 12 kB / 427.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3056, allocations: 140.2 kB / 428 MB, free: 12.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3056, allocations: 0 / 428 MB, free: 12.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009827/0.3066, allocations: 139.7 kB / 428.2 MB, free: 12.22 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.0002903/0.3069, allocations: 151.1 kB / 428.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.3086, allocations: 0.5697 MB / 428.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3086, allocations: 0 / 428.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009112/0.3095, allocations: 385.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.0005275/0.3101, allocations: 27.98 kB / 429.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.312, allocations: 0.7924 MB / 430.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.3125, allocations: 0.8045 MB / 430.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003013/0.3128, allocations: 50.95 kB / 430.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3129, allocations: 35.42 kB / 431 MB, free: 9.332 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.313, allocations: 0 / 431 MB, free: 9.332 MB / 350.1 MB Notification: Performance of Templates: time 0.01545/0.3284, allocations: 4.356 MB / 435.3 MB, free: 4.988 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