Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002068/0.002069, allocations: 177.4 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.642/2.642, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 97.28 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005302, allocations: 16 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.448, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.6106, allocations: 81.47 MB / 457.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/0.6111, allocations: 79.95 kB / 457.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07046/0.6815, allocations: 16.25 MB / 473.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.6816, allocations: 0 / 473.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.6817, allocations: 8 kB / 473.5 MB, free: 14.65 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003295/0.685, allocations: 0.7724 MB / 474.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.6851, allocations: 12.03 kB / 474.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005937/0.691, allocations: 431.9 kB / 474.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000897/0.692, allocations: 323.5 kB / 475.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.771e-05/0.6921, allocations: 41.69 kB / 475.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.6923, allocations: 56.38 kB / 475.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.6943, allocations: 0.5693 MB / 475.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.6944, allocations: 7.844 kB / 475.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6945, allocations: 24 kB / 475.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.6945, allocations: 16 kB / 475.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.6967, allocations: 0.6571 MB / 476.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.7025, allocations: 2.099 MB / 478.5 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004278/0.7068, allocations: 2.998 MB / 481.5 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009614/0.7078, allocations: 278.1 kB / 481.8 MB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.708, allocations: 93.52 kB / 481.9 MB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.571e-05/0.7081, allocations: 39 kB / 481.9 MB, free: 5.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 7.825e-06/0.7081, allocations: 4 kB / 481.9 MB, free: 5.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002882/0.711, allocations: 0.7466 MB / 482.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.7111, allocations: 55.84 kB / 482.7 MB, free: 4.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.7115, allocations: 220.1 kB / 482.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.7116, allocations: 33.7 kB / 483 MB, free: 4.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.7118, allocations: 244.1 kB / 483.2 MB, free: 4.102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.712, allocations: 165.5 kB / 483.4 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.712, allocations: 8 kB / 483.4 MB, free: 3.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.7122, allocations: 338.8 kB / 483.7 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.7126, allocations: 169 kB / 483.9 MB, free: 3.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.7131, allocations: 283.7 kB / 484.2 MB, free: 3.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008112/0.7139, allocations: 478.2 kB / 484.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.7139, allocations: 7.938 kB / 484.6 MB, free: 2.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001222/0.7152, allocations: 0.5865 MB / 485.2 MB, free: 1.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.7152, allocations: 8 kB / 485.2 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.7152, allocations: 4 kB / 485.2 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.7156, allocations: 80.81 kB / 485.3 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.7161, allocations: 119.8 kB / 485.4 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.7179, allocations: 1.644 MB / 487.1 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.7184, allocations: 59.38 kB / 487.1 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.7184, allocations: 24.17 kB / 487.1 MB, free: 15.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003241/0.7187, allocations: 169.7 kB / 487.3 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-05/0.7188, allocations: 35.72 kB / 487.3 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.7205, allocations: 0.555 MB / 487.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7205, allocations: 8 kB / 487.9 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.7205, allocations: 0 / 487.9 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.7205, allocations: 7.922 kB / 487.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/0.7241, allocations: 1.189 MB / 489.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.7242, allocations: 3.984 kB / 489.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.7248, allocations: 79.91 kB / 489.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/0.7253, allocations: 84.84 kB / 489.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.7254, allocations: 12 kB / 489.3 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002816/0.7282, allocations: 1.636 MB / 490.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.7283, allocations: 0 / 490.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.7307, allocations: 0.8257 MB / 491.7 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.7309, allocations: 120.7 kB / 491.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.731, allocations: 8.062 kB / 491.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004146/0.7314, allocations: 23.98 kB / 491.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.7316, allocations: 36.39 kB / 491.9 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.7316, allocations: 12 kB / 491.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.7319, allocations: 152.2 kB / 492.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 3e-07/0.7319, allocations: 0 / 492.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001018/0.7329, allocations: 159.5 kB / 492.2 MB, free: 10.55 MB / 378.7 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003604/0.7333, allocations: 162 kB / 492.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.7352, allocations: 0.5976 MB / 493 MB, free: 9.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.7353, allocations: 0 / 493 MB, free: 9.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7363, allocations: 389 kB / 493.4 MB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.737, allocations: 42.14 kB / 493.4 MB, free: 9.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.7405, allocations: 1.115 MB / 494.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/0.7413, allocations: 0.8175 MB / 495.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.7416, allocations: 43.42 kB / 495.4 MB, free: 7.297 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.7416, allocations: 0 / 495.4 MB, free: 7.297 MB / 378.7 MB Notification: Performance of Templates: time 0.01677/0.7584, allocations: 6.577 MB / 0.4902 GB, free: 0.7188 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches