Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2468, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004519/0.2514, allocations: 3.706 MB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.2537, allocations: 1.487 MB / 415.1 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.2539, allocations: 8 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.2556, allocations: 0.7423 MB / 415.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008034/0.2564, allocations: 390 kB / 416.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.2574, allocations: 0.5602 MB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.2578, allocations: 454 kB / 417.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005869/0.2584, allocations: 381.7 kB / 417.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.2588, allocations: 215.2 kB / 417.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.2591, allocations: 270.9 kB / 418.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.2592, allocations: 40 kB / 418.1 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.2596, allocations: 211.8 kB / 418.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.2597, allocations: 107.6 kB / 418.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.2599, allocations: 230.8 kB / 418.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.2606, allocations: 0.6866 MB / 419.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2606, allocations: 3.938 kB / 419.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.2606, allocations: 0 / 419.4 MB, free: 8.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.2607, allocations: 4 kB / 419.4 MB, free: 8.102 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.002/0.2627, allocations: 0.9015 MB / 420.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.2627, allocations: 8.031 kB / 420.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/0.2663, allocations: 499.9 kB / 420.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.2667, allocations: 303.6 kB / 421.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.2668, allocations: 45.69 kB / 421.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-05/0.2669, allocations: 56.36 kB / 421.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.2678, allocations: 0.5103 MB / 421.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.2678, allocations: 4 kB / 421.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/0.2678, allocations: 20 kB / 421.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2679, allocations: 12 kB / 421.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009754/0.2688, allocations: 0.5673 MB / 422.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.2716, allocations: 1.933 MB / 424.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.274, allocations: 2.188 MB / 426.4 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.2743, allocations: 209.1 kB / 426.6 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.2745, allocations: 178.6 kB / 426.8 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.2746, allocations: 47.03 kB / 426.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.765e-06/0.2746, allocations: 0 / 426.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00191/0.2765, allocations: 0.7854 MB / 427.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2765, allocations: 63.72 kB / 427.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2767, allocations: 190.3 kB / 427.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.2768, allocations: 33.7 kB / 427.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.2769, allocations: 216.5 kB / 428.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.277, allocations: 157.7 kB / 428.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.2772, allocations: 86.16 kB / 428.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2773, allocations: 338.8 kB / 428.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.2776, allocations: 157 kB / 428.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.2779, allocations: 220.8 kB / 429 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.2785, allocations: 399.4 kB / 429.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2785, allocations: 4 kB / 429.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000956/0.2795, allocations: 0.5315 MB / 430 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2795, allocations: 12.22 kB / 430 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2796, allocations: 3.984 kB / 430 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003478/0.2799, allocations: 84.81 kB / 430.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.2803, allocations: 95.81 kB / 430.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.2822, allocations: 2.045 MB / 432.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.2825, allocations: 47.52 kB / 432.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.2825, allocations: 16 kB / 432.3 MB, free: 10.27 MB / 350.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.0001892/0.2827, allocations: 177.6 kB / 432.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.2828, allocations: 23.72 kB / 432.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.2838, allocations: 0.5435 MB / 433 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2838, allocations: 4 kB / 433 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2839, allocations: 4 kB / 433 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.2839, allocations: 0 / 433 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.2854, allocations: 1.127 MB / 434.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.2854, allocations: 7.922 kB / 434.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.2858, allocations: 83.83 kB / 434.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.286, allocations: 80.81 kB / 434.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.2861, allocations: 15.98 kB / 434.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.2879, allocations: 2.033 MB / 436.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2879, allocations: 0 / 436.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.2891, allocations: 0.7933 MB / 437.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.275e-05/0.2892, allocations: 116.7 kB / 437.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.2893, allocations: 8 kB / 437.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.2895, allocations: 19.94 kB / 437.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.2896, allocations: 36.38 kB / 437.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.2896, allocations: 16 kB / 437.3 MB, free: 4.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2897, allocations: 131.3 kB / 437.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2897, allocations: 0 / 437.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005659/0.2903, allocations: 147.6 kB / 437.6 MB, free: 4.656 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.0002401/0.2906, allocations: 147.1 kB / 437.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009992/0.2916, allocations: 0.5623 MB / 438.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2916, allocations: 0 / 438.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.2921, allocations: 377 kB / 438.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.2925, allocations: 28 kB / 438.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2937, allocations: 0.8359 MB / 439.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.2941, allocations: 0.8084 MB / 440.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.2942, allocations: 35.42 kB / 440.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2942, allocations: 0 / 440.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of Templates: time 0.01013/0.3044, allocations: 6.338 MB / 446.7 MB, free: 11.44 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches