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.001591/0.00159, allocations: 186.3 kB / 16.41 MB, free: 5.727 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.889/1.889, 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.001628/0.001628, allocations: 92.11 kB / 270.9 MB, free: 8.383 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.5004/0.5004, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004751, allocations: 16 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4953/0.6223, allocations: 113.2 MB / 0.5893 GB, free: 5.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.6227, allocations: 95.92 kB / 0.5894 GB, free: 5.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.149/2.772, allocations: 469.4 MB / 1.048 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.31e-06/2.772, allocations: 0 / 1.048 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.00119/2.773, allocations: 307.6 kB / 1.048 GB, free: 14.57 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.07873/2.852, allocations: 14.07 MB / 1.062 GB, free: 412 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/2.852, allocations: 12.03 kB / 1.062 GB, free: 400 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8728/3.725, allocations: 8.556 MB / 1.07 GB, free: 38.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02977/3.754, allocations: 8.834 MB / 1.079 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002204/3.757, allocations: 1.028 MB / 1.08 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00785/3.765, allocations: 1.306 MB / 1.081 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08823/3.853, allocations: 24.95 MB / 1.105 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008495/3.854, allocations: 18.3 kB / 1.105 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006809/3.861, allocations: 0.568 MB / 1.106 GB, free: 36.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00185/3.862, allocations: 0.9294 MB / 1.107 GB, free: 36.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07364/3.936, allocations: 22.54 MB / 1.129 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.252/4.188, allocations: 76.39 MB / 1.204 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04498/4.233, allocations: 21.15 MB / 1.224 GB, free: 8.027 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1457/4.379, allocations: 38.73 MB / 1.262 GB, free: 12.9 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/4.379, allocations: 136.9 kB / 1.262 GB, free: 12.76 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=1188): time 1.765e-05/4.379, allocations: 0 / 1.262 GB, free: 12.76 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1188): time 0.5567/4.936, allocations: 37.53 MB / 1.299 GB, free: 71 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/4.936, allocations: 175 kB / 1.299 GB, free: 70.9 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008493/4.945, allocations: 3.096 MB / 1.302 GB, free: 70.69 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.002763/4.947, allocations: 171.6 kB / 1.302 GB, free: 70.66 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.003416/4.951, allocations: 4.301 MB / 1.306 GB, free: 69.11 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.006966/4.958, allocations: 3.864 MB / 1.31 GB, free: 66.58 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003293/4.961, allocations: 170.4 kB / 1.31 GB, free: 66.58 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001489/4.963, allocations: 0.7579 MB / 1.311 GB, free: 66.25 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02259/4.985, allocations: 8.083 MB / 1.319 GB, free: 66.23 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02545/5.011, allocations: 9.57 MB / 1.328 GB, free: 64.94 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0277/5.039, allocations: 9.399 MB / 1.337 GB, free: 64.82 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.253e-05/5.039, allocations: 9.688 kB / 1.337 GB, free: 64.82 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.075/5.114, allocations: 23.77 MB / 1.361 GB, free: 64.26 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/5.114, allocations: 19.75 kB / 1.361 GB, free: 64.26 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/5.114, allocations: 33.44 kB / 1.361 GB, free: 64.26 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03612/5.15, allocations: 10.35 MB / 1.371 GB, free: 63.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01119/5.161, allocations: 1.351 MB / 1.372 GB, free: 63.88 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0464/5.208, allocations: 19.54 MB / 1.391 GB, free: 54.63 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/5.219, allocations: 1.112 MB / 1.392 GB, free: 54.02 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003919/5.223, allocations: 390.2 kB / 1.393 GB, free: 53.94 MB / 0.5574 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 () * Number of clocked 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.01722/5.241, allocations: 5.381 MB / 1.398 GB, free: 51.66 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003856/5.244, allocations: 0.6014 MB / 1.399 GB, free: 51.33 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07469/5.319, allocations: 24.71 MB / 1.423 GB, free: 41.26 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005061/5.32, allocations: 325.9 kB / 1.423 GB, free: 41.09 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/5.32, allocations: 6.547 kB / 1.423 GB, free: 41.09 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000198/5.32, allocations: 47.98 kB / 1.423 GB, free: 41.09 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1267/5.447, allocations: 43.71 MB / 1.466 GB, free: 9.023 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001773/5.447, allocations: 1.25 kB / 1.466 GB, free: 9.023 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009956/5.457, allocations: 1.093 MB / 1.467 GB, free: 8.207 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03515/5.492, allocations: 10.32 MB / 1.477 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003334/5.495, allocations: 249.2 kB / 1.477 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5056/6.001, allocations: 19.45 MB / 1.496 GB, free: 96.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/6.001, allocations: 0.7812 kB / 1.496 GB, free: 96.5 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1141/6.115, allocations: 36.37 MB / 1.532 GB, free: 95.82 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01025/6.126, allocations: 2.687 MB / 1.534 GB, free: 95.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004397/6.13, allocations: 153.8 kB / 1.534 GB, free: 95.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01078/6.141, allocations: 0.5262 MB / 1.535 GB, free: 95.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005258/6.146, allocations: 0.8914 MB / 1.536 GB, free: 95.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003554/6.15, allocations: 310 kB / 1.536 GB, free: 95.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007691/6.158, allocations: 2.362 MB / 1.538 GB, free: 95.45 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.264e-06/6.158, allocations: 0 / 1.538 GB, free: 95.45 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01846/6.176, allocations: 3.48 MB / 1.542 GB, free: 95.06 MB / 0.573 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 () * Number of clocked 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.003722/6.18, allocations: 357.2 kB / 1.542 GB, free: 94.98 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.06256/6.242, allocations: 20.18 MB / 1.562 GB, free: 94.61 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/6.243, allocations: 0 / 1.562 GB, free: 94.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.03939/6.282, allocations: 11.13 MB / 1.573 GB, free: 94.19 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01269/6.295, allocations: 1.162 MB / 1.574 GB, free: 94.17 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1031/6.398, allocations: 37.57 MB / 1.611 GB, free: 76.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02224/6.42, allocations: 9.408 MB / 1.62 GB, free: 73.36 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004396/6.425, allocations: 439.3 kB / 1.62 GB, free: 73.32 MB / 0.573 GB Notification: Performance of SimCode: time 1.623e-06/6.425, allocations: 3.812 kB / 1.62 GB, free: 73.32 MB / 0.573 GB Notification: Performance of Templates: time 1.736/8.161, allocations: 471.4 MB / 2.08 GB, free: 104.6 MB / 0.6355 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