Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 109.9 kB / 17.06 MB, free: 6.137 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.001168/0.001168, allocations: 191 kB / 18 MB, free: 5.219 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.426/1.426, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009723/0.0009723, allocations: 55.91 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2373, allocations: 49.42 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004353/0.2417, allocations: 3.701 MB / 404.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2437, allocations: 1.425 MB / 405.8 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.2439, allocations: 12 kB / 405.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.2455, allocations: 0.7506 MB / 406.6 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009769/0.2465, allocations: 0.5425 MB / 407.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.2472, allocations: 426.2 kB / 407.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004171/0.2476, allocations: 466 kB / 408 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006471/0.2483, allocations: 467 kB / 408.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.2486, allocations: 219.2 kB / 408.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.2489, allocations: 275 kB / 409 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.2489, allocations: 48 kB / 409 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.2493, allocations: 211.8 kB / 409.2 MB, free: 368 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.2493, allocations: 107.7 kB / 409.3 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.2495, allocations: 238.8 kB / 409.6 MB, free: 20 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.2502, allocations: 0.6931 MB / 410.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2502, allocations: 0 / 410.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2502, allocations: 0 / 410.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2502, allocations: 0 / 410.2 MB, free: 15.32 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.001994/0.2522, allocations: 0.9132 MB / 411.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2523, allocations: 11.89 kB / 411.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.2559, allocations: 487.9 kB / 411.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.2563, allocations: 307.7 kB / 411.9 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.2564, allocations: 41.69 kB / 412 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.2565, allocations: 56.28 kB / 412 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009602/0.2574, allocations: 0.5298 MB / 412.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.2575, allocations: 0 / 412.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.2575, allocations: 23.94 kB / 412.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.2575, allocations: 12 kB / 412.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009884/0.2585, allocations: 0.5751 MB / 413.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.2612, allocations: 1.875 MB / 415.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.2632, allocations: 2.167 MB / 417.2 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.2636, allocations: 266.1 kB / 417.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.459e-05/0.2637, allocations: 93.52 kB / 417.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2638, allocations: 39 kB / 417.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.593e-06/0.2638, allocations: 0 / 417.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001691/0.2655, allocations: 0.7426 MB / 418.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.2655, allocations: 59.83 kB / 418.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2657, allocations: 186.2 kB / 418.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.2657, allocations: 37.7 kB / 418.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2658, allocations: 220.4 kB / 418.8 MB, free: 6.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.2659, allocations: 153.7 kB / 419 MB, free: 5.887 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.2661, allocations: 90.23 kB / 419.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2662, allocations: 334.8 kB / 419.4 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.2665, allocations: 149.1 kB / 419.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.2668, allocations: 234.6 kB / 419.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.2675, allocations: 432.8 kB / 420.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2675, allocations: 0 / 420.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009462/0.2685, allocations: 0.5318 MB / 420.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2685, allocations: 4 kB / 420.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2685, allocations: 4 kB / 420.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.2688, allocations: 84.81 kB / 420.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.2692, allocations: 99.83 kB / 420.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.2709, allocations: 1.777 MB / 422.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.2711, allocations: 43.53 kB / 422.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.2712, allocations: 20 kB / 422.8 MB, free: 1.891 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.2713, allocations: 169.8 kB / 422.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.2714, allocations: 23.72 kB / 423 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.2724, allocations: 0.5394 MB / 423.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2725, allocations: 4 kB / 423.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2725, allocations: 3.984 kB / 423.5 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2725, allocations: 7.984 kB / 423.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.2741, allocations: 1.14 MB / 424.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2741, allocations: 3.938 kB / 424.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.2744, allocations: 71.91 kB / 424.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.2747, allocations: 84.86 kB / 424.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.2747, allocations: 8 kB / 424.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.2763, allocations: 1.766 MB / 426.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2764, allocations: 4.031 kB / 426.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.2776, allocations: 0.8027 MB / 427.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.2777, allocations: 112.7 kB / 427.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.2778, allocations: 11.98 kB / 427.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.278, allocations: 20.06 kB / 427.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.2781, allocations: 40.31 kB / 427.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.2782, allocations: 19.94 kB / 427.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.2783, allocations: 132.2 kB / 427.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2783, allocations: 0 / 427.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004747/0.2788, allocations: 151.5 kB / 427.9 MB, free: 12.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (44): * Single equations (assignments): 43 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.279, allocations: 139.1 kB / 428 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.28, allocations: 0.5658 MB / 428.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.28, allocations: 3.938 kB / 428.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.2806, allocations: 381.7 kB / 428.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.281, allocations: 31.98 kB / 429 MB, free: 11.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2822, allocations: 0.8112 MB / 429.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.2826, allocations: 0.8084 MB / 430.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.2828, allocations: 46.95 kB / 430.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.2829, allocations: 39.42 kB / 430.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2829, allocations: 0 / 430.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Templates: time 0.008512/0.2914, allocations: 4.314 MB / 435 MB, free: 5.309 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches