Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009884/0.0009884, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.375/1.375, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000826/0.000826, allocations: 84.27 kB / 267.1 MB, free: 9.277 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.3506/0.3506, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.168e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 58.84 MB / 484.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3605/0.4803, allocations: 113.1 MB / 0.5833 GB, free: 8.734 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4806, allocations: 85.42 kB / 0.5834 GB, free: 8.691 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469/1.949, allocations: 468.9 MB / 1.041 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.185e-06/1.949, allocations: 0 / 1.041 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007664/1.95, allocations: 302.7 kB / 1.042 GB, free: 40.4 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.04947/2, allocations: 13.52 MB / 1.055 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/2, allocations: 16.03 kB / 1.055 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04184/2.042, allocations: 8.523 MB / 1.063 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02211/2.064, allocations: 8.818 MB / 1.072 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001701/2.065, allocations: 1.035 MB / 1.073 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005913/2.071, allocations: 1.312 MB / 1.074 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7508/2.822, allocations: 24.61 MB / 1.098 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009062/2.823, allocations: 21.62 kB / 1.098 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006504/2.83, allocations: 0.5622 MB / 1.099 GB, free: 38.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001231/2.831, allocations: 0.9309 MB / 1.1 GB, free: 38.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0483/2.879, allocations: 22.05 MB / 1.121 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1603/3.04, allocations: 76.38 MB / 1.196 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02744/3.067, allocations: 20.87 MB / 1.216 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02403/3.091, allocations: 11.71 MB / 1.227 GB, free: 15.95 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1013/3.192, allocations: 38.13 MB / 1.265 GB, free: 6.293 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/3.193, allocations: 133.4 kB / 1.265 GB, free: 6.156 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=1188): time 1.598e-05/3.193, allocations: 2.719 kB / 1.265 GB, free: 6.156 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1188): time 0.05035/3.243, allocations: 22.2 MB / 1.287 GB, free: 2.785 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/3.243, allocations: 174.8 kB / 1.287 GB, free: 2.598 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3516/3.595, allocations: 3.052 MB / 1.29 GB, free: 88.64 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.002478/3.597, allocations: 177.9 kB / 1.29 GB, free: 88.61 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.003159/3.601, allocations: 4.477 MB / 1.294 GB, free: 87.41 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00617/3.607, allocations: 3.868 MB / 1.298 GB, free: 84.89 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008488/3.608, allocations: 174.7 kB / 1.298 GB, free: 84.89 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0008752/3.608, allocations: 0.7494 MB / 1.299 GB, free: 84.56 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01167/3.62, allocations: 7.907 MB / 1.307 GB, free: 84.54 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01141/3.632, allocations: 9.399 MB / 1.316 GB, free: 83.25 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/3.643, allocations: 9.25 MB / 1.325 GB, free: 83.11 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-05/3.643, allocations: 11 kB / 1.325 GB, free: 83.11 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.03488/3.678, allocations: 23.58 MB / 1.348 GB, free: 82.45 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/3.678, allocations: 18.78 kB / 1.348 GB, free: 82.45 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/3.678, allocations: 30.88 kB / 1.348 GB, free: 82.45 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01803/3.696, allocations: 10.27 MB / 1.358 GB, free: 82.09 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005781/3.702, allocations: 1.35 MB / 1.359 GB, free: 82.09 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/3.725, allocations: 19.46 MB / 1.378 GB, free: 77.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008019/3.733, allocations: 1.122 MB / 1.379 GB, free: 76.69 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003023/3.736, allocations: 384.1 kB / 1.38 GB, free: 76.61 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 () * 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.004316/3.741, allocations: 0.5525 MB / 1.38 GB, free: 76.21 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002585/3.743, allocations: 0.5992 MB / 1.381 GB, free: 75.89 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03478/3.778, allocations: 24.35 MB / 1.405 GB, free: 66.14 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002976/3.778, allocations: 327.3 kB / 1.405 GB, free: 65.97 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/3.778, allocations: 0 / 1.405 GB, free: 65.97 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/3.778, allocations: 46.69 kB / 1.405 GB, free: 65.97 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06515/3.844, allocations: 43.34 MB / 1.447 GB, free: 38.78 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.612e-05/3.844, allocations: 2.469 kB / 1.447 GB, free: 38.78 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005142/3.849, allocations: 1.082 MB / 1.448 GB, free: 37.96 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0177/3.867, allocations: 10.24 MB / 1.458 GB, free: 29.43 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002022/3.869, allocations: 248.1 kB / 1.459 GB, free: 29.22 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02023/3.889, allocations: 19.4 MB / 1.478 GB, free: 12.17 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/3.889, allocations: 0 / 1.478 GB, free: 12.17 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3891/4.278, allocations: 37 MB / 1.514 GB, free: 80.08 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007464/4.285, allocations: 2.683 MB / 1.516 GB, free: 79.98 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002199/4.288, allocations: 156.3 kB / 1.516 GB, free: 79.98 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005301/4.293, allocations: 0.5344 MB / 1.517 GB, free: 79.98 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002107/4.295, allocations: 0.8856 MB / 1.518 GB, free: 79.98 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009795/4.296, allocations: 313.8 kB / 1.518 GB, free: 79.98 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.00307/4.299, allocations: 2.337 MB / 1.52 GB, free: 79.82 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.31e-07/4.299, allocations: 0 / 1.52 GB, free: 79.82 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.009469/4.309, allocations: 3.475 MB / 1.524 GB, free: 79.66 MB / 0.5574 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.001947/4.311, allocations: 363.7 kB / 1.524 GB, free: 79.58 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03172/4.342, allocations: 19.83 MB / 1.544 GB, free: 79.21 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/4.342, allocations: 3.938 kB / 1.544 GB, free: 79.21 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01864/4.361, allocations: 10.94 MB / 1.554 GB, free: 78.8 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007577/4.369, allocations: 1.159 MB / 1.555 GB, free: 78.79 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04773/4.417, allocations: 28.47 MB / 1.583 GB, free: 75.17 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01394/4.43, allocations: 9.716 MB / 1.593 GB, free: 73.43 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.006709/4.437, allocations: 2.113 MB / 1.595 GB, free: 73.26 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/4.439, allocations: 375.9 kB / 1.595 GB, free: 73.23 MB / 0.5574 GB Notification: Performance of SimCode: time 7.52e-07/4.439, allocations: 0 / 1.595 GB, free: 73.23 MB / 0.5574 GB Notification: Performance of Templates: time 0.5594/4.998, allocations: 187.2 MB / 1.778 GB, free: 67.58 MB / 0.5574 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/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_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches