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.001446/0.001446, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.011/2.011, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001051/0.001051, allocations: 74.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2738/0.2738, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.368e-05/3.394e-05, allocations: 11.98 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.6126, allocations: 100.8 MB / 0.5712 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004121/0.6131, allocations: 87.36 kB / 0.5713 GB, free: 2.883 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1595/0.7726, allocations: 39.17 MB / 0.6095 GB, free: 2.496 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7727, allocations: 0 / 0.6095 GB, free: 2.496 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.619e-05/0.7727, allocations: 27.94 kB / 0.6096 GB, free: 2.469 MB / 410.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.008705/0.7815, allocations: 1.698 MB / 0.6112 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.7815, allocations: 12.03 kB / 0.6112 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.7926, allocations: 1.05 MB / 0.6123 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.7946, allocations: 0.6063 MB / 0.6129 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.7949, allocations: 100.5 kB / 0.613 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005746/0.7955, allocations: 141.8 kB / 0.6131 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004831/0.8003, allocations: 1.46 MB / 0.6145 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.943e-05/0.8005, allocations: 3.984 kB / 0.6145 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.8007, allocations: 56.12 kB / 0.6146 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/0.8008, allocations: 39.56 kB / 0.6146 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004746/0.8055, allocations: 1.498 MB / 0.6161 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.8212, allocations: 5.638 MB / 0.6216 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/0.8255, allocations: 2.326 MB / 0.6239 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.8273, allocations: 0.6234 MB / 0.6245 GB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/0.8277, allocations: 118 kB / 0.6246 GB, free: 3.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.526e-05/0.8278, allocations: 47.5 kB / 0.6246 GB, free: 3.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=129): time 4.418e-06/0.8278, allocations: 0 / 0.6246 GB, free: 3.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=129): time 0.00406/0.8319, allocations: 1.246 MB / 0.6258 GB, free: 2.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.832, allocations: 90.11 kB / 0.6259 GB, free: 2.359 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/0.8329, allocations: 415.8 kB / 0.6263 GB, free: 1.949 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002755/0.8332, allocations: 45.7 kB / 0.6264 GB, free: 1.898 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.8337, allocations: 0.5136 MB / 0.6269 GB, free: 1.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006416/0.8343, allocations: 432.8 kB / 0.6273 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.8345, allocations: 24 kB / 0.6273 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.8347, allocations: 362.8 kB / 0.6276 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.8361, allocations: 422.6 kB / 0.6281 GB, free: 156 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.8378, allocations: 0.6676 MB / 0.6287 GB, free: 15.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.8395, allocations: 0.4969 MB / 0.6292 GB, free: 14.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.8396, allocations: 4 kB / 0.6292 GB, free: 14.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004923/0.8445, allocations: 1.494 MB / 0.6307 GB, free: 13.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.8446, allocations: 23.5 kB / 0.6307 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.8446, allocations: 8 kB / 0.6307 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.8474, allocations: 0.5084 MB / 0.6312 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/0.8492, allocations: 211.7 kB / 0.6314 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.8605, allocations: 4.258 MB / 0.6355 GB, free: 8.246 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.8621, allocations: 130.8 kB / 0.6357 GB, free: 8.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000206/0.8623, allocations: 55.92 kB / 0.6357 GB, free: 8.062 MB / 442.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 () * 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.0003748/0.8627, allocations: 176.5 kB / 0.6359 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.863, allocations: 82.97 kB / 0.636 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/0.8677, allocations: 1.521 MB / 0.6374 GB, free: 6.262 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/0.8677, allocations: 12 kB / 0.6375 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8678, allocations: 4 kB / 0.6375 GB, free: 6.246 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.8678, allocations: 3.984 kB / 0.6375 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007924/0.8757, allocations: 2.814 MB / 0.6402 GB, free: 3.359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.8758, allocations: 3.938 kB / 0.6402 GB, free: 3.355 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.8772, allocations: 147.8 kB / 0.6404 GB, free: 3.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/0.8801, allocations: 0.5067 MB / 0.6409 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/0.8803, allocations: 24 kB / 0.6409 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/0.8915, allocations: 4.266 MB / 0.645 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.8916, allocations: 11.97 kB / 0.6451 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006354/0.898, allocations: 2.199 MB / 0.6472 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008685/0.8989, allocations: 295.6 kB / 0.6475 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.8991, allocations: 20 kB / 0.6475 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.9004, allocations: 59.91 kB / 0.6476 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/0.9008, allocations: 101.2 kB / 0.6477 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.901, allocations: 35.98 kB / 0.6477 GB, free: 11.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000612/0.9016, allocations: 317.6 kB / 0.648 GB, free: 11.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9016, allocations: 0 / 0.648 GB, free: 11.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002034/0.9037, allocations: 415.1 kB / 0.6484 GB, free: 10.79 MB / 458.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 () * 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.0005408/0.9042, allocations: 184.5 kB / 0.6486 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005516/0.9098, allocations: 1.692 MB / 0.6502 GB, free: 8.902 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.9098, allocations: 0 / 0.6502 GB, free: 8.902 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003826/0.9137, allocations: 1.109 MB / 0.6513 GB, free: 7.781 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.9147, allocations: 86.48 kB / 0.6514 GB, free: 7.699 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/0.9228, allocations: 2.178 MB / 0.6535 GB, free: 5.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/0.9238, allocations: 1.107 MB / 0.6546 GB, free: 4.348 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.9244, allocations: 75.41 kB / 0.6547 GB, free: 4.273 MB / 458.7 MB Notification: Performance of SimCode: time 1.402e-06/0.9244, allocations: 0 / 0.6547 GB, free: 4.273 MB / 458.7 MB Notification: Performance of Templates: time 0.03863/0.963, allocations: 17.27 MB / 0.6715 GB, free: 2.961 MB / 474.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