Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001111/0.001111, allocations: 98.34 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5027/0.5027, allocations: 43.55 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004638, allocations: 16 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1261, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4804/0.6066, allocations: 100.9 MB / 0.5772 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/0.607, allocations: 83.95 kB / 0.5773 GB, free: 1.754 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1978/0.8048, allocations: 39.26 MB / 0.6157 GB, free: 10.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.8048, allocations: 0 / 0.6157 GB, free: 10.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.794e-05/0.8049, allocations: 24 kB / 0.6157 GB, free: 10.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01371/0.8187, allocations: 1.766 MB / 0.6174 GB, free: 8.254 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.313e-05/0.8188, allocations: 16.02 kB / 0.6174 GB, free: 8.238 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/0.8369, allocations: 1.067 MB / 0.6185 GB, free: 7.172 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.8388, allocations: 0.6042 MB / 0.619 GB, free: 6.523 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.839, allocations: 98.72 kB / 0.6191 GB, free: 6.426 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004054/0.8394, allocations: 135.9 kB / 0.6193 GB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00483/0.8442, allocations: 1.515 MB / 0.6208 GB, free: 4.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/0.8443, allocations: 11.89 kB / 0.6208 GB, free: 4.719 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002313/0.8446, allocations: 60 kB / 0.6208 GB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.076e-05/0.8447, allocations: 37.03 kB / 0.6209 GB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005191/0.8499, allocations: 1.599 MB / 0.6224 GB, free: 3.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/0.8644, allocations: 5.623 MB / 0.6279 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/0.8687, allocations: 2.381 MB / 0.6302 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003239/0.869, allocations: 114 kB / 0.6303 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.8691, allocations: 47.56 kB / 0.6304 GB, free: 10.29 MB / 458.7 MB Notification: Performance of pre-optimization done (n=129): time 4.318e-06/0.8691, allocations: 4 kB / 0.6304 GB, free: 10.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.01745/0.8866, allocations: 3.13 MB / 0.6334 GB, free: 7.129 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.8867, allocations: 98.05 kB / 0.6335 GB, free: 7.016 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.8876, allocations: 421 kB / 0.6339 GB, free: 6.594 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.8878, allocations: 45.7 kB / 0.634 GB, free: 6.543 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.8882, allocations: 0.5058 MB / 0.6345 GB, free: 6.031 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/0.8887, allocations: 429.8 kB / 0.6349 GB, free: 5.605 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.8888, allocations: 28 kB / 0.6349 GB, free: 5.578 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.889, allocations: 354.8 kB / 0.6353 GB, free: 5.223 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.8905, allocations: 466.4 kB / 0.6357 GB, free: 4.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.8923, allocations: 0.7103 MB / 0.6364 GB, free: 3.957 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.894, allocations: 0.5257 MB / 0.6369 GB, free: 3.434 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.894, allocations: 7.953 kB / 0.6369 GB, free: 3.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004986/0.899, allocations: 1.588 MB / 0.6385 GB, free: 1.824 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.8991, allocations: 14.92 kB / 0.6385 GB, free: 1.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.8991, allocations: 8 kB / 0.6385 GB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002702/0.9019, allocations: 0.5126 MB / 0.639 GB, free: 1.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.9035, allocations: 207.7 kB / 0.6392 GB, free: 1.094 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.9149, allocations: 4.424 MB / 0.6435 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.9164, allocations: 126.7 kB / 0.6436 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.9166, allocations: 51.98 kB / 0.6437 GB, free: 12.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0007367/0.9173, allocations: 277.5 kB / 0.6439 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/0.9176, allocations: 83 kB / 0.644 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004781/0.9224, allocations: 1.583 MB / 0.6456 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.9224, allocations: 12 kB / 0.6456 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.9224, allocations: 4.109 kB / 0.6456 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.9225, allocations: 7.922 kB / 0.6456 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007553/0.93, allocations: 2.924 MB / 0.6484 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.9301, allocations: 0 / 0.6484 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.9313, allocations: 151.7 kB / 0.6486 GB, free: 7.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002574/0.9339, allocations: 0.5106 MB / 0.6491 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.9341, allocations: 24 kB / 0.6491 GB, free: 6.695 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/0.9452, allocations: 4.409 MB / 0.6534 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.9453, allocations: 0 / 0.6534 GB, free: 2.148 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006787/0.9521, allocations: 2.335 MB / 0.6557 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/0.9529, allocations: 295.6 kB / 0.656 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.9531, allocations: 28 kB / 0.656 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.9542, allocations: 56.05 kB / 0.6561 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/0.9546, allocations: 97.16 kB / 0.6562 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.9547, allocations: 32 kB / 0.6562 GB, free: 15.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000629/0.9554, allocations: 318.9 kB / 0.6565 GB, free: 14.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9554, allocations: 0 / 0.6565 GB, free: 14.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001741/0.9571, allocations: 423 kB / 0.6569 GB, free: 14.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.000406/0.9575, allocations: 167.8 kB / 0.6571 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005727/0.9633, allocations: 1.787 MB / 0.6588 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9633, allocations: 0 / 0.6588 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003801/0.9671, allocations: 1.173 MB / 0.6599 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/0.968, allocations: 89.28 kB / 0.66 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/0.9768, allocations: 3.202 MB / 0.6632 GB, free: 8.062 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008993/0.9778, allocations: 1.107 MB / 0.6642 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.9783, allocations: 79.41 kB / 0.6643 GB, free: 6.852 MB / 490.7 MB Notification: Performance of SimCode: time 1.021e-06/0.9783, allocations: 0 / 0.6643 GB, free: 6.852 MB / 490.7 MB Notification: Performance of Templates: time 0.3944/1.373, allocations: 17.26 MB / 0.6812 GB, free: 107.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches