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.0007997/0.0007994, allocations: 94.8 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009457/0.0009457, allocations: 200.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.7 MB / 247.5 MB, free: 11.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002021/0.0002021, allocations: 4 kB / 308.4 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08654, allocations: 51.52 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003779/0.09036, allocations: 3.313 MB / 363.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.09277, allocations: 1.468 MB / 364.7 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.09304, allocations: 8 kB / 364.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004847/0.09354, allocations: 159.3 kB / 364.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009508/0.0945, allocations: 346.6 kB / 365.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009971/0.09551, allocations: 0.5206 MB / 365.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.09601, allocations: 442 kB / 366.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.09726, allocations: 0.7119 MB / 366.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.09759, allocations: 179.2 kB / 367 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.0979, allocations: 235 kB / 367.3 MB, free: 5.848 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.391e-05/0.09796, allocations: 20 kB / 367.3 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.09833, allocations: 187.8 kB / 367.5 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.09842, allocations: 83.59 kB / 367.5 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.09863, allocations: 232.5 kB / 367.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.09918, allocations: 0.5064 MB / 368.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.09919, allocations: 0 / 368.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.0992, allocations: 0 / 368.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.09922, allocations: 0 / 368.3 MB, free: 4.82 MB / 302.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.001946/0.1012, allocations: 0.8273 MB / 369.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1012, allocations: 12.03 kB / 369.1 MB, free: 3.934 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/0.1048, allocations: 0.496 MB / 369.6 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.1052, allocations: 303.5 kB / 369.9 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.1052, allocations: 41.69 kB / 370 MB, free: 3.066 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.1053, allocations: 56.28 kB / 370 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.1063, allocations: 0.5181 MB / 370.5 MB, free: 2.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1063, allocations: 3.938 kB / 370.5 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.1064, allocations: 24 kB / 370.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.1064, allocations: 20 kB / 370.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1074, allocations: 0.5673 MB / 371.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1655/0.2729, allocations: 1.962 MB / 373.1 MB, free: 18.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.2747, allocations: 2.186 MB / 375.3 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.2751, allocations: 217.3 kB / 375.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.2753, allocations: 170.5 kB / 375.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2753, allocations: 39.06 kB / 375.7 MB, free: 16.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/0.2753, allocations: 0 / 375.7 MB, free: 16.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002094/0.2774, allocations: 0.8138 MB / 376.5 MB, free: 16.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.2774, allocations: 59.89 kB / 376.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.2776, allocations: 181.7 kB / 376.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.2777, allocations: 34.98 kB / 376.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.2778, allocations: 220.5 kB / 377 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.2779, allocations: 159.1 kB / 377.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.278, allocations: 43.86 kB / 377.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.2781, allocations: 334.6 kB / 377.5 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.2784, allocations: 157.5 kB / 377.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.2788, allocations: 241.8 kB / 377.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.2795, allocations: 408.7 kB / 378.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2795, allocations: 1.375 kB / 378.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009942/0.2805, allocations: 0.5452 MB / 378.9 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2805, allocations: 8.266 kB / 378.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2805, allocations: 5.266 kB / 378.9 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.2809, allocations: 95 kB / 379 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.2813, allocations: 89.08 kB / 379.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.2829, allocations: 1.849 MB / 380.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.2831, allocations: 52.95 kB / 381 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.2832, allocations: 19.73 kB / 381 MB, free: 13.3 MB / 302.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.0001645/0.2834, allocations: 165.6 kB / 381.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.2834, allocations: 28.22 kB / 381.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.2845, allocations: 0.5586 MB / 381.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2845, allocations: 6.828 kB / 381.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.2845, allocations: 6.125 kB / 381.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2845, allocations: 2.625 kB / 381.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.2861, allocations: 1.141 MB / 382.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.2861, allocations: 4 kB / 382.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.2865, allocations: 74.25 kB / 383 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.2867, allocations: 87.91 kB / 383 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.2868, allocations: 13.05 kB / 383.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.2882, allocations: 1.85 MB / 384.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2882, allocations: 0.75 kB / 384.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2894, allocations: 0.8033 MB / 385.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.2895, allocations: 120 kB / 385.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.2895, allocations: 11.53 kB / 385.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.2897, allocations: 20.73 kB / 385.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.2898, allocations: 33.77 kB / 385.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.2898, allocations: 23.98 kB / 385.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.2899, allocations: 135.3 kB / 386 MB, free: 9.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2899, allocations: 0 / 386 MB, free: 9.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.2905, allocations: 145 kB / 386.2 MB, free: 9.867 MB / 302.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.0001917/0.2907, allocations: 138.2 kB / 386.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009818/0.2917, allocations: 0.5784 MB / 386.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2917, allocations: 5.094 kB / 386.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005356/0.2923, allocations: 386.2 kB / 387.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.2926, allocations: 31.64 kB / 387.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2939, allocations: 1.078 MB / 388.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2942, allocations: 0.807 MB / 389.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.2943, allocations: 37.97 kB / 389.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2943, allocations: 0 / 389.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Templates: time 0.008527/0.3029, allocations: 6.256 MB / 395.5 MB, free: 5.984 MB / 302.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