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.001536/0.001536, allocations: 178.6 kB / 16.41 MB, free: 5.707 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.957/1.957, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009307/0.0009309, allocations: 90.3 kB / 270.9 MB, free: 8.359 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.4899/0.4899, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 58.86 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.226/0.3527, allocations: 19.78 MB / 0.4981 GB, free: 34.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.3647, allocations: 5.066 MB / 0.503 GB, free: 33.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004867/0.3696, allocations: 154.3 kB / 0.5032 GB, free: 32.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004047/0.3737, allocations: 1.024 MB / 0.5042 GB, free: 32.49 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007753/0.3814, allocations: 2.045 MB / 0.5062 GB, free: 31.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004466/0.3859, allocations: 1.31 MB / 0.5074 GB, free: 30.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01498/0.4009, allocations: 13.78 MB / 0.5209 GB, free: 23.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05145/0.4524, allocations: 26.58 MB / 0.5469 GB, free: 11.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.463, allocations: 5.588 MB / 0.5523 GB, free: 8.945 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01349/0.4765, allocations: 6.307 MB / 0.5585 GB, free: 3.988 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003975/0.4805, allocations: 0.8359 MB / 0.5593 GB, free: 3.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007574/0.4881, allocations: 1.057 MB / 0.5603 GB, free: 2.125 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005455/0.4936, allocations: 2.72 MB / 0.563 GB, free: 15.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007687/0.5013, allocations: 2.815 MB / 0.5657 GB, free: 13.01 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02978/0.5311, allocations: 24.06 MB / 0.5892 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5312, allocations: 0 / 0.5892 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5312, allocations: 0 / 0.5892 GB, free: 5.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009164/0.5321, allocations: 4 kB / 0.5892 GB, free: 5.789 MB / 410.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.04828/0.5804, allocations: 15.84 MB / 0.6047 GB, free: 5.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5805, allocations: 12.03 kB / 0.6047 GB, free: 5.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06215/0.6427, allocations: 12.75 MB / 0.6172 GB, free: 9.055 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.6607, allocations: 7.794 MB / 0.6248 GB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001389/0.6621, allocations: 1.072 MB / 0.6258 GB, free: 108 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006762/0.6689, allocations: 1.402 MB / 0.6272 GB, free: 14.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05995/0.7289, allocations: 24.01 MB / 0.6506 GB, free: 6.594 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004489/0.7294, allocations: 15.84 kB / 0.6506 GB, free: 6.578 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003998/0.7334, allocations: 0.5781 MB / 0.6512 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007633/0.7342, allocations: 0.7335 MB / 0.6519 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2483/0.9825, allocations: 22.38 MB / 0.6738 GB, free: 106.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1245/1.107, allocations: 73.49 MB / 0.7455 GB, free: 69.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02311/1.13, allocations: 31.59 MB / 0.7764 GB, free: 39.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007716/1.138, allocations: 5.071 MB / 0.7813 GB, free: 37.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02773/1.166, allocations: 15.85 MB / 0.7968 GB, free: 27.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/1.166, allocations: 84.48 kB / 0.7969 GB, free: 27.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=465): time 7.404e-06/1.166, allocations: 0 / 0.7969 GB, free: 27.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=465): time 0.03305/1.199, allocations: 15.56 MB / 0.8121 GB, free: 13.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/1.199, allocations: 128.6 kB / 0.8122 GB, free: 13.49 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007119/1.206, allocations: 5.217 MB / 0.8173 GB, free: 8.273 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.207, allocations: 97.7 kB / 0.8174 GB, free: 8.172 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002921/1.21, allocations: 6.047 MB / 0.8233 GB, free: 2.094 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001757/1.212, allocations: 1.587 MB / 0.8249 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004166/1.212, allocations: 152 kB / 0.825 GB, free: 380 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003878/1.213, allocations: 0.6362 MB / 0.8256 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006807/1.22, allocations: 4.2 MB / 0.8297 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01071/1.23, allocations: 7.552 MB / 0.8371 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.241, allocations: 5.728 MB / 0.8427 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/1.241, allocations: 35.94 kB / 0.8427 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02809/1.269, allocations: 13.41 MB / 0.8558 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/1.269, allocations: 56.25 kB / 0.8559 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002088/1.269, allocations: 112 kB / 0.856 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007097/1.276, allocations: 3.11 MB / 0.859 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006736/1.283, allocations: 1.665 MB / 0.8607 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.254/1.537, allocations: 21.89 MB / 0.882 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/1.544, allocations: 1.128 MB / 0.8831 GB, free: 146.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000995/1.545, allocations: 400.3 kB / 0.8835 GB, free: 146.3 MB / 0.5261 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.01079/1.555, allocations: 5.464 MB / 0.8888 GB, free: 144 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001595/1.557, allocations: 0.5026 MB / 0.8893 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.57, allocations: 9.705 MB / 0.8988 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/1.57, allocations: 48.97 kB / 0.8989 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.57, allocations: 0 / 0.8989 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/1.57, allocations: 26.19 kB / 0.8989 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03736/1.608, allocations: 20.89 MB / 0.9193 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.608, allocations: 0.5 kB / 0.9193 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/1.611, allocations: 0.7409 MB / 0.92 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00591/1.617, allocations: 2.962 MB / 0.9229 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006531/1.618, allocations: 107.1 kB / 0.923 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02571/1.643, allocations: 21.64 MB / 0.9441 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.643, allocations: 1.5 kB / 0.9441 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/1.661, allocations: 14.19 MB / 0.958 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003277/1.665, allocations: 1.391 MB / 0.9594 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009905/1.666, allocations: 80 kB / 0.9594 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002928/1.669, allocations: 395.6 kB / 0.9598 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009098/1.67, allocations: 383.2 kB / 0.9602 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002887/1.67, allocations: 136 kB / 0.9603 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005089/1.675, allocations: 3.465 MB / 0.9637 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/1.675, allocations: 0 / 0.9637 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01154/1.687, allocations: 3.471 MB / 0.9671 GB, free: 102.2 MB / 0.5261 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.001361/1.688, allocations: 250.3 kB / 0.9673 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01779/1.706, allocations: 11.54 MB / 0.9786 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.706, allocations: 0 / 0.9786 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00957/1.715, allocations: 5.974 MB / 0.9844 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006808/1.722, allocations: 1.218 MB / 0.9856 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04206/1.764, allocations: 28.87 MB / 1.014 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01272/1.777, allocations: 8.916 MB / 1.023 GB, free: 45.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/1.779, allocations: 447.3 kB / 1.023 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/1.78, allocations: 0.7656 kB / 1.023 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.8696/2.649, allocations: 390.1 MB / 1.404 GB, free: 86.25 MB / 0.5573 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