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.001192/0.001192, allocations: 178.4 kB / 16.72 MB, free: 4.965 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.318/1.318, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007873/0.0007871, allocations: 85.38 kB / 271.2 MB, free: 8.25 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.3063/0.3063, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 12 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 58.84 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.1905/0.2931, allocations: 19.91 MB / 0.4988 GB, free: 34.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.304, allocations: 5.074 MB / 0.5037 GB, free: 33.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004646/0.3087, allocations: 151.4 kB / 0.5039 GB, free: 32.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004292/0.313, allocations: 1.017 MB / 0.5048 GB, free: 32.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009409/0.3224, allocations: 2.06 MB / 0.5069 GB, free: 31.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004657/0.3271, allocations: 1.308 MB / 0.5081 GB, free: 30.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01421/0.3413, allocations: 13.82 MB / 0.5216 GB, free: 23.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04457/0.3859, allocations: 32.91 MB / 0.5538 GB, free: 7.301 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007903/0.3939, allocations: 5.575 MB / 0.5592 GB, free: 2.477 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.4047, allocations: 6.309 MB / 0.5654 GB, free: 13.03 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003455/0.4082, allocations: 0.8398 MB / 0.5662 GB, free: 12.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006249/0.4145, allocations: 1.06 MB / 0.5672 GB, free: 11.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004952/0.4195, allocations: 2.711 MB / 0.5699 GB, free: 8.879 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01283/0.4323, allocations: 6.468 MB / 0.5762 GB, free: 2.656 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02472/0.4571, allocations: 24.06 MB / 0.5997 GB, free: 11.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.4571, allocations: 0 / 0.5997 GB, free: 11.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4571, allocations: 0 / 0.5997 GB, free: 11.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007767/0.4579, allocations: 0 / 0.5997 GB, free: 11.45 MB / 426.7 MB 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.04422/0.5022, allocations: 15.7 MB / 0.615 GB, free: 11.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5022, allocations: 8.031 kB / 0.615 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05885/0.5611, allocations: 12.75 MB / 0.6275 GB, free: 14.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/0.5768, allocations: 7.904 MB / 0.6352 GB, free: 6.867 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001244/0.5781, allocations: 1.072 MB / 0.6362 GB, free: 5.793 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00519/0.5833, allocations: 1.398 MB / 0.6376 GB, free: 4.395 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05797/0.6413, allocations: 24.02 MB / 0.6611 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006281/0.642, allocations: 27.73 kB / 0.6611 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004657/0.6466, allocations: 0.5742 MB / 0.6617 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008083/0.6475, allocations: 0.7335 MB / 0.6624 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4015/1.049, allocations: 22.38 MB / 0.6842 GB, free: 106.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1065/1.155, allocations: 73.53 MB / 0.756 GB, free: 63.5 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/1.176, allocations: 31.58 MB / 0.7869 GB, free: 34.16 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006434/1.182, allocations: 5.076 MB / 0.7918 GB, free: 31.49 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0212/1.203, allocations: 15.85 MB / 0.8073 GB, free: 16.18 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.204, allocations: 86.05 kB / 0.8074 GB, free: 16.08 MB / 490.8 MB Notification: Performance of pre-optimization done (n=465): time 6.372e-06/1.204, allocations: 0 / 0.8074 GB, free: 16.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=465): time 0.02919/1.233, allocations: 15.78 MB / 0.8228 GB, free: 220 kB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/1.233, allocations: 128.6 kB / 0.8229 GB, free: 72 kB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00813/1.241, allocations: 5.217 MB / 0.828 GB, free: 10.86 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005649/1.242, allocations: 97.7 kB / 0.8281 GB, free: 10.75 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003675/1.245, allocations: 6.038 MB / 0.834 GB, free: 4.684 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001726/1.247, allocations: 1.591 MB / 0.8356 GB, free: 3.105 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004466/1.247, allocations: 156 kB / 0.8357 GB, free: 2.953 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004072/1.248, allocations: 0.6362 MB / 0.8363 GB, free: 2.312 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006215/1.254, allocations: 4.2 MB / 0.8404 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008356/1.262, allocations: 7.552 MB / 0.8478 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/1.278, allocations: 12.33 MB / 0.8599 GB, free: 7.066 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.186e-05/1.278, allocations: 35.98 kB / 0.8599 GB, free: 7.031 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02132/1.299, allocations: 13.4 MB / 0.873 GB, free: 9.605 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/1.299, allocations: 52 kB / 0.873 GB, free: 9.555 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/1.299, allocations: 112 kB / 0.8731 GB, free: 9.445 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006149/1.306, allocations: 3.106 MB / 0.8762 GB, free: 6.332 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005574/1.311, allocations: 1.669 MB / 0.8778 GB, free: 4.66 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2208/1.532, allocations: 21.89 MB / 0.8992 GB, free: 156 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00564/1.538, allocations: 1.126 MB / 0.9003 GB, free: 155.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000849/1.538, allocations: 399.3 kB / 0.9006 GB, free: 155.6 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.007427/1.546, allocations: 5.467 MB / 0.906 GB, free: 153.3 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009792/1.547, allocations: 0.5023 MB / 0.9065 GB, free: 153.2 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.561, allocations: 9.688 MB / 0.9159 GB, free: 149.6 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-05/1.561, allocations: 47.62 kB / 0.916 GB, free: 149.6 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.561, allocations: 0 / 0.916 GB, free: 149.6 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-05/1.561, allocations: 25.03 kB / 0.916 GB, free: 149.6 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03251/1.593, allocations: 20.91 MB / 0.9364 GB, free: 141.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.593, allocations: 3.312 kB / 0.9364 GB, free: 141.9 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.596, allocations: 0.7391 MB / 0.9371 GB, free: 141.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005411/1.601, allocations: 2.963 MB / 0.94 GB, free: 141.1 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004569/1.602, allocations: 98.84 kB / 0.9401 GB, free: 141 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/1.626, allocations: 21.64 MB / 0.9613 GB, free: 129.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.626, allocations: 0 / 0.9613 GB, free: 129.6 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.643, allocations: 14.19 MB / 0.9751 GB, free: 119 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/1.645, allocations: 1.395 MB / 0.9765 GB, free: 117.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007113/1.646, allocations: 88.06 kB / 0.9766 GB, free: 117.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/1.648, allocations: 399.4 kB / 0.9769 GB, free: 117.1 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008434/1.649, allocations: 383.6 kB / 0.9773 GB, free: 116.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002858/1.65, allocations: 135.9 kB / 0.9774 GB, free: 116.6 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.00425/1.654, allocations: 3.462 MB / 0.9808 GB, free: 113.1 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.7e-07/1.654, allocations: 0 / 0.9808 GB, free: 113.1 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.008028/1.662, allocations: 3.468 MB / 0.9842 GB, free: 109.6 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_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 (357): * Single equations (assignments): 354 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007245/1.663, allocations: 254.2 kB / 0.9845 GB, free: 109.4 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.678, allocations: 11.53 MB / 0.9957 GB, free: 97.78 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.678, allocations: 0 / 0.9957 GB, free: 97.78 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.007933/1.686, allocations: 5.966 MB / 1.002 GB, free: 91.73 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005307/1.691, allocations: 1.209 MB / 1.003 GB, free: 90.56 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03457/1.726, allocations: 28.89 MB / 1.031 GB, free: 61.69 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008085/1.734, allocations: 8.909 MB / 1.04 GB, free: 52.74 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/1.735, allocations: 439.4 kB / 1.04 GB, free: 52.31 MB / 0.5418 GB Notification: Performance of SimCode: time 1.643e-06/1.736, allocations: 0 / 1.04 GB, free: 52.31 MB / 0.5418 GB Notification: Performance of Templates: time 0.7512/2.487, allocations: 389.6 MB / 1.421 GB, free: 119.4 MB / 0.5887 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/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_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches