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.001139/0.001139, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 206.7 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.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2393, allocations: 50.55 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004377/0.2437, allocations: 3.694 MB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.2459, allocations: 1.487 MB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.246, allocations: 8 kB / 415.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.2477, allocations: 0.7468 MB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007536/0.2484, allocations: 389.6 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.2494, allocations: 0.5562 MB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.2498, allocations: 462 kB / 417.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005493/0.2503, allocations: 385.7 kB / 417.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.2506, allocations: 211.2 kB / 417.8 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.2509, allocations: 266.9 kB / 418.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.2509, allocations: 40 kB / 418.1 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.2513, allocations: 215.8 kB / 418.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.2514, allocations: 107.6 kB / 418.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.2516, allocations: 226.9 kB / 418.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.2522, allocations: 0.6827 MB / 419.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2523, allocations: 0 / 419.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2523, allocations: 3.938 kB / 419.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.2523, allocations: 4 kB / 419.4 MB, free: 8.094 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.001979/0.2543, allocations: 0.9054 MB / 420.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2543, allocations: 8.031 kB / 420.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.2578, allocations: 499.9 kB / 420.8 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.2583, allocations: 307.6 kB / 421.1 MB, free: 6.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.2583, allocations: 41.69 kB / 421.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.2584, allocations: 52.38 kB / 421.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.2593, allocations: 0.5181 MB / 421.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2593, allocations: 0 / 421.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.2594, allocations: 24 kB / 421.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.2594, allocations: 15.94 kB / 421.7 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.2604, allocations: 0.5673 MB / 422.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.2631, allocations: 1.933 MB / 424.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.2652, allocations: 2.183 MB / 426.4 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.2656, allocations: 217.1 kB / 426.6 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.2657, allocations: 170.6 kB / 426.8 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2658, allocations: 43 kB / 426.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/0.2658, allocations: 0 / 426.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001892/0.2677, allocations: 0.7971 MB / 427.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2677, allocations: 59.78 kB / 427.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.2679, allocations: 182.3 kB / 427.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2679, allocations: 37.7 kB / 427.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.268, allocations: 216.5 kB / 428.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.2682, allocations: 161.6 kB / 428.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.2683, allocations: 86.16 kB / 428.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2684, allocations: 342.8 kB / 428.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.2687, allocations: 145.1 kB / 428.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.2691, allocations: 224.8 kB / 429 MB, free: 13.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006423/0.2697, allocations: 403.4 kB / 429.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2697, allocations: 8 kB / 429.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000997/0.2707, allocations: 0.5276 MB / 430 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2708, allocations: 12.22 kB / 430 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2708, allocations: 0 / 430 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/0.2711, allocations: 88.8 kB / 430.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.2715, allocations: 87.89 kB / 430.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.2734, allocations: 2.041 MB / 432.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.2737, allocations: 51.55 kB / 432.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.2737, allocations: 16 kB / 432.3 MB, free: 10.26 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.0001848/0.2739, allocations: 176.6 kB / 432.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/0.274, allocations: 27.7 kB / 432.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2752, allocations: 0.5435 MB / 433 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2753, allocations: 3.984 kB / 433 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2753, allocations: 0 / 433 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.2753, allocations: 104.8 kB / 433.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2754, allocations: 8 kB / 433.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.2756, allocations: 23.92 kB / 433.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.677e-05/0.2757, allocations: 40.38 kB / 433.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001143/0.2769, allocations: 0.5588 MB / 433.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001033/0.2779, allocations: 0.7285 MB / 434.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002906/0.2782, allocations: 179.3 kB / 434.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.895e-05/0.2783, allocations: 131.2 kB / 434.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.2783, allocations: 0 / 434.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.2796, allocations: 0.5929 MB / 435.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of SimCode: time 0.001228/0.2808, allocations: 1.198 MB / 436.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of Templates: time 0.01046/0.2913, allocations: 6.294 MB / 442.9 MB, free: 15.54 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