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.001044/0.001044, allocations: 187 kB / 16.64 MB, free: 5.133 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.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.001204/0.001204, allocations: 104 kB / 269.9 MB, free: 8.434 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.3733/0.3733, allocations: 43.5 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 47.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1621, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02407/0.1862, allocations: 22.48 MB / 0.4975 GB, free: 5.957 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.2027, allocations: 5.471 MB / 0.5029 GB, free: 476 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008453/0.2112, allocations: 151.5 kB / 0.503 GB, free: 324 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3206/0.5319, allocations: 9.014 MB / 0.5118 GB, free: 36.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009648/0.5415, allocations: 2.181 MB / 0.514 GB, free: 36.58 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006165/0.5477, allocations: 1.599 MB / 0.5155 GB, free: 36.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01907/0.5668, allocations: 14.98 MB / 0.5302 GB, free: 31.44 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05432/0.6212, allocations: 29.06 MB / 0.5585 GB, free: 17.96 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01392/0.6351, allocations: 7.111 MB / 0.5655 GB, free: 14.37 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01652/0.6517, allocations: 8.531 MB / 0.5738 GB, free: 7.465 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006508/0.6583, allocations: 1.518 MB / 0.5753 GB, free: 5.949 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.6698, allocations: 1.742 MB / 0.577 GB, free: 4.238 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007708/0.6775, allocations: 3.746 MB / 0.5807 GB, free: 1.129 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02214/0.6997, allocations: 7.861 MB / 0.5883 GB, free: 9.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03652/0.7363, allocations: 28.06 MB / 0.6157 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.199e-05/0.7364, allocations: 3.984 kB / 0.6157 GB, free: 15.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.7364, allocations: 0 / 0.6157 GB, free: 15.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001419/0.7378, allocations: 4 kB / 0.6157 GB, free: 15.74 MB / 442.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.07297/0.8108, allocations: 18.92 MB / 0.6342 GB, free: 12.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.8109, allocations: 8.031 kB / 0.6342 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06328/0.8742, allocations: 12.67 MB / 0.6466 GB, free: 344 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0228/0.897, allocations: 7.904 MB / 0.6543 GB, free: 8.402 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001738/0.8988, allocations: 1.074 MB / 0.6554 GB, free: 7.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008487/0.9074, allocations: 1.394 MB / 0.6567 GB, free: 5.957 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08008/0.9875, allocations: 24.1 MB / 0.6803 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00101/0.9886, allocations: 15.91 kB / 0.6803 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007308/0.9959, allocations: 0.5785 MB / 0.6808 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009994/0.9969, allocations: 0.7296 MB / 0.6816 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5857/1.583, allocations: 22.44 MB / 0.7035 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1561/1.739, allocations: 73.31 MB / 0.7751 GB, free: 78.48 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02937/1.768, allocations: 31.61 MB / 0.8059 GB, free: 49.12 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009233/1.777, allocations: 5.065 MB / 0.8109 GB, free: 46.47 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03459/1.812, allocations: 15.84 MB / 0.8263 GB, free: 34.58 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.293e-05/1.812, allocations: 86.11 kB / 0.8264 GB, free: 34.49 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=465): time 6.762e-06/1.812, allocations: 0 / 0.8264 GB, free: 34.49 MB / 0.4949 GB Notification: Performance of matching and sorting (n=465): time 0.03613/1.848, allocations: 15.66 MB / 0.8417 GB, free: 18.75 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/1.848, allocations: 124.7 kB / 0.8418 GB, free: 18.61 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.859, allocations: 5.252 MB / 0.847 GB, free: 13.36 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001017/1.86, allocations: 97.7 kB / 0.8471 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003329/1.863, allocations: 6.052 MB / 0.853 GB, free: 7.172 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/1.865, allocations: 1.585 MB / 0.8545 GB, free: 5.598 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002691/1.868, allocations: 1.598 MB / 0.8561 GB, free: 3.992 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/1.868, allocations: 305.1 kB / 0.8564 GB, free: 3.691 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.873, allocations: 4.198 MB / 0.8605 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009011/1.882, allocations: 7.56 MB / 0.8679 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/1.899, allocations: 12.32 MB / 0.8799 GB, free: 8.453 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/1.899, allocations: 35.94 kB / 0.8799 GB, free: 8.418 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02676/1.926, allocations: 13.45 MB / 0.8931 GB, free: 10.94 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/1.926, allocations: 52 kB / 0.8931 GB, free: 10.89 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002288/1.926, allocations: 116.2 kB / 0.8932 GB, free: 10.78 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006918/1.933, allocations: 3.098 MB / 0.8962 GB, free: 7.672 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006726/1.94, allocations: 1.669 MB / 0.8979 GB, free: 6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007445/1.94, allocations: 323 kB / 0.8982 GB, free: 5.672 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00769/1.948, allocations: 1.111 MB / 0.8993 GB, free: 4.551 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001797/1.95, allocations: 404 kB / 0.8996 GB, free: 4.156 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 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.26/2.21, allocations: 5.453 MB / 0.905 GB, free: 162.9 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001962/2.212, allocations: 0.5085 MB / 0.9055 GB, free: 162.9 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/2.229, allocations: 9.659 MB / 0.9149 GB, free: 160.7 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.675e-05/2.229, allocations: 51.22 kB / 0.915 GB, free: 160.7 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/2.229, allocations: 5.312 kB / 0.915 GB, free: 160.7 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.817e-05/2.229, allocations: 22.78 kB / 0.915 GB, free: 160.7 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03783/2.267, allocations: 20.87 MB / 0.9354 GB, free: 153.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/2.267, allocations: 2.906 kB / 0.9354 GB, free: 153.1 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/2.27, allocations: 0.7295 MB / 0.9361 GB, free: 153.1 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005689/2.275, allocations: 2.968 MB / 0.939 GB, free: 152.3 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004723/2.276, allocations: 98.05 kB / 0.9391 GB, free: 152.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005252/2.276, allocations: 133 kB / 0.9392 GB, free: 152.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/2.276, allocations: 1.375 kB / 0.9392 GB, free: 152.2 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0352/2.312, allocations: 23.31 MB / 0.962 GB, free: 142.6 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003634/2.315, allocations: 1.367 MB / 0.9633 GB, free: 141.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008506/2.316, allocations: 76.25 kB / 0.9634 GB, free: 141.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/2.319, allocations: 391 kB / 0.9637 GB, free: 141.7 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007438/2.32, allocations: 311.9 kB / 0.964 GB, free: 141.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/2.32, allocations: 132 kB / 0.9642 GB, free: 141.7 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005354/2.325, allocations: 3.509 MB / 0.9676 GB, free: 140.5 MB / 0.5418 GB Notification: Performance of sort global known variables: time 4.91e-07/2.325, allocations: 0 / 0.9676 GB, free: 140.5 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.011/2.336, allocations: 3.51 MB / 0.971 GB, free: 139.5 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/2.337, allocations: 262 kB / 0.9713 GB, free: 139.3 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01492/2.352, allocations: 10.02 MB / 0.9811 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/2.352, allocations: 0 / 0.9811 GB, free: 134.4 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.006951/2.359, allocations: 4.445 MB / 0.9854 GB, free: 130.7 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005725/2.365, allocations: 1.204 MB / 0.9866 GB, free: 129.7 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04154/2.407, allocations: 33.07 MB / 1.019 GB, free: 97.6 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/2.419, allocations: 9.233 MB / 1.028 GB, free: 88.32 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.007036/2.426, allocations: 2.942 MB / 1.031 GB, free: 85.38 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/2.427, allocations: 383.4 kB / 1.031 GB, free: 85 MB / 0.5418 GB Notification: Performance of SimCode: time 1.252e-06/2.427, allocations: 0 / 1.031 GB, free: 85 MB / 0.5418 GB Notification: Performance of Templates: time 0.3552/2.782, allocations: 96.9 MB / 1.126 GB, free: 144.2 MB / 0.5418 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@2/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