Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, 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.006/2.006, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001066/0.001065, allocations: 82.7 kB / 267.5 MB, free: 14.04 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.272/0.272, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.161e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5136/0.6295, allocations: 113.1 MB / 0.5833 GB, free: 6.637 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.6299, allocations: 84.98 kB / 0.5833 GB, free: 6.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.208/2.838, allocations: 468.9 MB / 1.041 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/2.838, allocations: 0 / 1.041 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001214/2.839, allocations: 303.7 kB / 1.042 GB, free: 49.52 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.07157/2.91, allocations: 13.53 MB / 1.055 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/2.91, allocations: 16.03 kB / 1.055 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06638/2.977, allocations: 8.519 MB / 1.063 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02888/3.006, allocations: 8.82 MB / 1.072 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001792/3.008, allocations: 1.027 MB / 1.073 GB, free: 17.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006823/3.015, allocations: 1.308 MB / 1.074 GB, free: 16.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5033/3.518, allocations: 24.61 MB / 1.098 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008882/3.519, allocations: 23.8 kB / 1.098 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006422/3.525, allocations: 0.5658 MB / 1.099 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002079/3.527, allocations: 0.9305 MB / 1.1 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06795/3.595, allocations: 22.05 MB / 1.121 GB, free: 43.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2061/3.802, allocations: 76.4 MB / 1.196 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03836/3.84, allocations: 20.88 MB / 1.216 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02731/3.867, allocations: 11.49 MB / 1.227 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1274/3.995, allocations: 38.06 MB / 1.264 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/3.995, allocations: 132.7 kB / 1.265 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1188): time 1.774e-05/3.995, allocations: 4 kB / 1.265 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1188): time 0.1129/4.108, allocations: 22.82 MB / 1.287 GB, free: 0.5508 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/4.108, allocations: 172.5 kB / 1.287 GB, free: 372 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008709/4.117, allocations: 3.056 MB / 1.29 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002839/4.12, allocations: 177.7 kB / 1.29 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.004456/4.124, allocations: 4.31 MB / 1.294 GB, free: 9.688 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.007741/4.132, allocations: 3.86 MB / 1.298 GB, free: 6.102 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002846/4.135, allocations: 172 kB / 1.298 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0015/4.137, allocations: 0.7531 MB / 1.299 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.458/4.595, allocations: 7.904 MB / 1.307 GB, free: 95.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02437/4.619, allocations: 9.405 MB / 1.316 GB, free: 94.15 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02752/4.647, allocations: 9.253 MB / 1.325 GB, free: 94 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.65e-05/4.647, allocations: 11.47 kB / 1.325 GB, free: 94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.07037/4.717, allocations: 23.37 MB / 1.348 GB, free: 93.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/4.717, allocations: 23.33 kB / 1.348 GB, free: 93.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001723/4.717, allocations: 39.03 kB / 1.348 GB, free: 93.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03411/4.752, allocations: 10.26 MB / 1.358 GB, free: 93.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0113/4.763, allocations: 1.353 MB / 1.359 GB, free: 93.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04579/4.809, allocations: 19.47 MB / 1.378 GB, free: 91.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/4.821, allocations: 1.114 MB / 1.379 GB, free: 91.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003419/4.824, allocations: 389.8 kB / 1.38 GB, free: 91.01 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of prepare postOptimizeDAE: time 0.006171/4.83, allocations: 0.5456 MB / 1.38 GB, free: 90.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004185/4.834, allocations: 0.6054 MB / 1.381 GB, free: 90.57 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07696/4.911, allocations: 24.33 MB / 1.405 GB, free: 81.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006444/4.912, allocations: 327.4 kB / 1.405 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.605e-05/4.912, allocations: 0 / 1.405 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002533/4.913, allocations: 54.3 kB / 1.405 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1225/5.035, allocations: 43.33 MB / 1.447 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001623/5.035, allocations: 0 / 1.447 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009735/5.045, allocations: 1.092 MB / 1.448 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03248/5.078, allocations: 10.24 MB / 1.458 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003056/5.081, allocations: 245.1 kB / 1.459 GB, free: 46.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04195/5.123, allocations: 19.39 MB / 1.478 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/5.123, allocations: 6.812 kB / 1.478 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6074/5.73, allocations: 37.08 MB / 1.514 GB, free: 89.99 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01133/5.741, allocations: 2.689 MB / 1.516 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00423/5.746, allocations: 159.1 kB / 1.516 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01057/5.756, allocations: 0.5335 MB / 1.517 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004903/5.761, allocations: 0.8864 MB / 1.518 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003345/5.765, allocations: 313.2 kB / 1.518 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006682/5.771, allocations: 2.329 MB / 1.52 GB, free: 89.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.373e-06/5.771, allocations: 0 / 1.52 GB, free: 89.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01895/5.79, allocations: 3.477 MB / 1.524 GB, free: 89.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (565): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of Backend phase and start with SimCode phase: time 0.003649/5.794, allocations: 373.5 kB / 1.524 GB, free: 89.21 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0616/5.856, allocations: 19.83 MB / 1.544 GB, free: 88.84 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/5.856, allocations: 2.719 kB / 1.544 GB, free: 88.84 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03649/5.892, allocations: 10.94 MB / 1.554 GB, free: 88.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01311/5.906, allocations: 1.166 MB / 1.555 GB, free: 88.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09151/5.997, allocations: 28.07 MB / 1.583 GB, free: 84.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02105/6.018, allocations: 9.408 MB / 1.592 GB, free: 83.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004343/6.023, allocations: 434.4 kB / 1.592 GB, free: 83.82 MB / 0.5573 GB Notification: Performance of SimCode: time 1.523e-06/6.023, allocations: 0 / 1.592 GB, free: 83.82 MB / 0.5573 GB Notification: Performance of Templates: time 1.838/7.861, allocations: 471.4 MB / 2.053 GB, free: 124.6 MB / 0.6198 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches