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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 217.3 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 207.6 MB / 234.5 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1954/0.1954, allocations: 44.25 MB / 331 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,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=5006,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 75.88 kB / 468.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09931, allocations: 61.03 MB / 0.5174 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.2056/0.3049, allocations: 23.02 MB / 0.5399 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.3151, allocations: 5.532 MB / 0.5453 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00437/0.3195, allocations: 197.4 kB / 0.5454 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01806/0.3375, allocations: 9.603 MB / 0.5548 GB, free: 8.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007675/0.3452, allocations: 2.289 MB / 0.5571 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005196/0.3504, allocations: 1.947 MB / 0.559 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0169/0.3673, allocations: 14.75 MB / 0.5734 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0389/0.4062, allocations: 21.34 MB / 0.5942 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/0.42, allocations: 8.243 MB / 0.6023 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01501/0.435, allocations: 8.932 MB / 0.611 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005282/0.4403, allocations: 2.113 MB / 0.613 GB, free: 460 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007459/0.4478, allocations: 2.344 MB / 0.6153 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006676/0.4544, allocations: 4.406 MB / 0.6196 GB, free: 9.789 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01535/0.4698, allocations: 8.527 MB / 0.628 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03514/0.5049, allocations: 28.79 MB / 0.6561 GB, free: 5.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5049, allocations: 0 / 0.6561 GB, free: 5.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5049, allocations: 0 / 0.6561 GB, free: 5.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006873/0.5056, allocations: 0 / 0.6561 GB, free: 5.086 MB / 494.1 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.05643/0.5621, allocations: 19.17 MB / 0.6748 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5621, allocations: 8.031 kB / 0.6748 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06335/0.6254, allocations: 12.74 MB / 0.6872 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/0.6437, allocations: 8.111 MB / 0.6952 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001211/0.6449, allocations: 1.075 MB / 0.6962 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005398/0.6503, allocations: 1.4 MB / 0.6976 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05331/0.7036, allocations: 24.11 MB / 0.7211 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004868/0.7041, allocations: 19.91 kB / 0.7211 GB, free: 2.578 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003659/0.7078, allocations: 0.5757 MB / 0.7217 GB, free: 2.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007902/0.7086, allocations: 0.7374 MB / 0.7224 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04432/0.7529, allocations: 22.44 MB / 0.7443 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5137/1.267, allocations: 70.75 MB / 0.8134 GB, free: 120.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/1.283, allocations: 12.06 MB / 0.8252 GB, free: 117.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006151/1.29, allocations: 4.603 MB / 0.8297 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02615/1.316, allocations: 15.29 MB / 0.8446 GB, free: 106.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/1.316, allocations: 80.52 kB / 0.8447 GB, free: 106.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 6.753e-06/1.316, allocations: 0 / 0.8447 GB, free: 106.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.03003/1.346, allocations: 15.37 MB / 0.8597 GB, free: 98.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/1.346, allocations: 125.8 kB / 0.8599 GB, free: 98.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006917/1.353, allocations: 5.262 MB / 0.865 GB, free: 94.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006524/1.353, allocations: 101.7 kB / 0.8651 GB, free: 94.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002531/1.356, allocations: 6.26 MB / 0.8712 GB, free: 89.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.357, allocations: 1.674 MB / 0.8728 GB, free: 87.47 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002469/1.36, allocations: 1.603 MB / 0.8744 GB, free: 85.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.406e-05/1.36, allocations: 309.1 kB / 0.8747 GB, free: 85.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/1.365, allocations: 4.207 MB / 0.8788 GB, free: 81.35 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00598/1.371, allocations: 7.549 MB / 0.8862 GB, free: 72.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/1.382, allocations: 12.32 MB / 0.8982 GB, free: 58.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.727e-05/1.382, allocations: 36 kB / 0.8982 GB, free: 58.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01846/1.401, allocations: 13.39 MB / 0.9113 GB, free: 46.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/1.401, allocations: 52 kB / 0.9114 GB, free: 46.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/1.401, allocations: 116 kB / 0.9115 GB, free: 45.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005238/1.406, allocations: 3.098 MB / 0.9145 GB, free: 42.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005025/1.411, allocations: 1.669 MB / 0.9161 GB, free: 41.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005312/1.412, allocations: 323.9 kB / 0.9164 GB, free: 40.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/1.417, allocations: 1.131 MB / 0.9175 GB, free: 39.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008915/1.418, allocations: 400 kB / 0.9179 GB, free: 39.46 MB / 0.5919 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.007061/1.425, allocations: 5.46 MB / 0.9233 GB, free: 34.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001029/1.426, allocations: 0.5317 MB / 0.9238 GB, free: 33.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.438, allocations: 9.576 MB / 0.9331 GB, free: 23.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/1.438, allocations: 44 kB / 0.9332 GB, free: 23.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.438, allocations: 0 / 0.9332 GB, free: 23.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.702e-05/1.439, allocations: 35.84 kB / 0.9332 GB, free: 23.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03275/1.471, allocations: 20.91 MB / 0.9536 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/1.471, allocations: 0 / 0.9536 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.474, allocations: 0.7272 MB / 0.9543 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005169/1.479, allocations: 2.963 MB / 0.9572 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004767/1.48, allocations: 99.98 kB / 0.9573 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005104/1.48, allocations: 122.5 kB / 0.9574 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.48, allocations: 13.12 kB / 0.9575 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0221/1.502, allocations: 14.1 MB / 0.9712 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004102/1.506, allocations: 1.383 MB / 0.9726 GB, free: 15.67 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001397/1.508, allocations: 83.94 kB / 0.9726 GB, free: 15.59 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/1.511, allocations: 367.6 kB / 0.973 GB, free: 15.23 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009847/1.512, allocations: 331.2 kB / 0.9733 GB, free: 14.9 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005123/1.513, allocations: 136 kB / 0.9734 GB, free: 14.77 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006788/1.52, allocations: 3.501 MB / 0.9769 GB, free: 11.28 MB / 0.6232 GB Notification: Performance of sort global known variables: time 9e-08/1.52, allocations: 0 / 0.9769 GB, free: 11.28 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01006/1.53, allocations: 3.285 MB / 0.9801 GB, free: 7.98 MB / 0.6232 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.001204/1.531, allocations: 243.3 kB / 0.9803 GB, free: 7.766 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01981/1.551, allocations: 9.623 MB / 0.9897 GB, free: 14.46 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.551, allocations: 0 / 0.9897 GB, free: 14.46 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.009568/1.56, allocations: 4.099 MB / 0.9937 GB, free: 10.41 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007427/1.568, allocations: 1.286 MB / 0.995 GB, free: 9.133 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05193/1.62, allocations: 24.5 MB / 1.019 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2251/1.845, allocations: 8.804 MB / 1.027 GB, free: 215.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/1.846, allocations: 447.8 kB / 1.028 GB, free: 215.8 MB / 0.6544 GB Notification: Performance of SimCode: time 1.223e-06/1.846, allocations: 0 / 1.028 GB, free: 215.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.5389/2.385, allocations: 388.1 MB / 1.407 GB, free: 113.8 MB / 0.6544 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.081809426192194]