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.001437/0.001437, allocations: 79.75 kB / 20.51 MB, free: 1.121 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.001555/0.001555, allocations: 164.3 kB / 23.76 MB, free: 4.195 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.583/1.583, allocations: 158.6 MB / 185.5 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 178] 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.223/0.223, allocations: 32.38 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] 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.002312/0.002312, allocations: 76.41 kB / 407.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1401, allocations: 61.03 MB / 468.8 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.3057/0.4458, allocations: 19.63 MB / 488.4 MB, free: 39.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.4629, allocations: 5.414 MB / 493.8 MB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006275/0.4691, allocations: 197 kB / 494 MB, free: 36.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02744/0.4966, allocations: 9.361 MB / 0.4916 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.5085, allocations: 2.274 MB / 0.4938 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007777/0.5162, allocations: 1.878 MB / 0.4957 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02437/0.5406, allocations: 14.75 MB / 0.5101 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06552/0.6061, allocations: 21.16 MB / 0.5307 GB, free: 9.363 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02068/0.6268, allocations: 8.265 MB / 0.5388 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02371/0.6505, allocations: 8.854 MB / 0.5474 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01191/0.6624, allocations: 2.109 MB / 0.5495 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01694/0.6794, allocations: 2.332 MB / 0.5518 GB, free: 9.223 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01264/0.692, allocations: 4.407 MB / 0.5561 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02088/0.7129, allocations: 6.673 MB / 0.5626 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0613/0.7742, allocations: 28.92 MB / 0.5908 GB, free: 1.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.7742, allocations: 0 / 0.5908 GB, free: 1.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.7742, allocations: 4 kB / 0.5908 GB, free: 1.102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007675/0.775, allocations: 0 / 0.5908 GB, free: 1.102 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.07996/0.8549, allocations: 19.17 MB / 0.6096 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.855, allocations: 12.03 kB / 0.6096 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07223/0.9272, allocations: 12.74 MB / 0.622 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02383/0.951, allocations: 8.116 MB / 0.63 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001586/0.9526, allocations: 1.072 MB / 0.631 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006509/0.9591, allocations: 1.402 MB / 0.6324 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07174/1.031, allocations: 24.41 MB / 0.6562 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005722/1.031, allocations: 19.91 kB / 0.6562 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004985/1.036, allocations: 0.582 MB / 0.6568 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009203/1.037, allocations: 0.7335 MB / 0.6575 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05541/1.093, allocations: 22.35 MB / 0.6793 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6209/1.714, allocations: 62.05 MB / 0.7399 GB, free: 95.67 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/1.733, allocations: 12 MB / 0.7516 GB, free: 92.03 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007567/1.74, allocations: 4.599 MB / 0.7561 GB, free: 90.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02678/1.767, allocations: 14.33 MB / 0.7701 GB, free: 84.28 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/1.767, allocations: 87.53 kB / 0.7702 GB, free: 84.21 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 9.137e-06/1.767, allocations: 0 / 0.7702 GB, free: 84.21 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03548/1.803, allocations: 15.35 MB / 0.7852 GB, free: 74.27 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/1.803, allocations: 124.7 kB / 0.7853 GB, free: 74.13 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00896/1.812, allocations: 5.148 MB / 0.7903 GB, free: 69.12 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/1.813, allocations: 101.7 kB / 0.7904 GB, free: 69.02 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003792/1.817, allocations: 6.268 MB / 0.7966 GB, free: 63.73 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002459/1.819, allocations: 1.668 MB / 0.7982 GB, free: 62.08 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005539/1.825, allocations: 1.603 MB / 0.7998 GB, free: 60.47 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/1.825, allocations: 317 kB / 0.8001 GB, free: 60.16 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006339/1.831, allocations: 4.2 MB / 0.8042 GB, free: 55.95 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008307/1.84, allocations: 7.558 MB / 0.8115 GB, free: 46.88 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/1.855, allocations: 12.32 MB / 0.8236 GB, free: 33.44 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/1.855, allocations: 36 kB / 0.8236 GB, free: 33.41 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02279/1.877, allocations: 13.37 MB / 0.8367 GB, free: 20.71 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/1.878, allocations: 59.98 kB / 0.8367 GB, free: 20.65 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001729/1.878, allocations: 112 kB / 0.8368 GB, free: 20.54 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005858/1.884, allocations: 3.098 MB / 0.8398 GB, free: 17.43 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005724/1.889, allocations: 1.673 MB / 0.8415 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006506/1.89, allocations: 319.4 kB / 0.8418 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006138/1.896, allocations: 1.106 MB / 0.8429 GB, free: 14.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.898, allocations: 400 kB / 0.8432 GB, free: 14.11 MB / 0.5763 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.009328/1.907, allocations: 5.454 MB / 0.8486 GB, free: 8.762 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.908, allocations: 0.5123 MB / 0.8491 GB, free: 8.246 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01548/1.924, allocations: 9.561 MB / 0.8584 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.416e-05/1.924, allocations: 48 kB / 0.8585 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.924, allocations: 0 / 0.8585 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/1.924, allocations: 27.84 kB / 0.8585 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0471/1.971, allocations: 17.99 MB / 0.8761 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.308e-05/1.971, allocations: 0 / 0.8761 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003524/1.975, allocations: 0.7274 MB / 0.8768 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006619/1.981, allocations: 2.964 MB / 0.8797 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007465/1.982, allocations: 99.97 kB / 0.8798 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005746/1.983, allocations: 130.5 kB / 0.8799 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.983, allocations: 0 / 0.8799 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/2.007, allocations: 14.08 MB / 0.8936 GB, free: 10.68 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00451/2.012, allocations: 1.341 MB / 0.8949 GB, free: 9.332 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0019/2.014, allocations: 87.22 kB / 0.895 GB, free: 9.25 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004256/2.018, allocations: 363.6 kB / 0.8954 GB, free: 8.895 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001354/2.019, allocations: 331.2 kB / 0.8957 GB, free: 8.57 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008534/2.02, allocations: 132 kB / 0.8958 GB, free: 8.441 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.007742/2.028, allocations: 3.288 MB / 0.899 GB, free: 5.156 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.1e-07/2.028, allocations: 0 / 0.899 GB, free: 5.156 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01137/2.039, allocations: 3.3 MB / 0.9022 GB, free: 1.844 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.001254/2.041, allocations: 254.5 kB / 0.9025 GB, free: 1.625 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02014/2.061, allocations: 9.617 MB / 0.9119 GB, free: 8.324 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/2.061, allocations: 4 kB / 0.9119 GB, free: 8.32 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.009502/2.07, allocations: 4.103 MB / 0.9159 GB, free: 4.266 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007304/2.078, allocations: 1.266 MB / 0.9171 GB, free: 3.051 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2802/2.358, allocations: 24.89 MB / 0.9414 GB, free: 209.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01682/2.375, allocations: 8.738 MB / 0.95 GB, free: 209 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008248/2.383, allocations: 2.919 MB / 0.9528 GB, free: 208.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/2.385, allocations: 376 kB / 0.9532 GB, free: 208.7 MB / 0.6544 GB Notification: Performance of SimCode: time 8.92e-07/2.385, allocations: 0.8438 kB / 0.9532 GB, free: 208.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.1413/2.526, allocations: 82.33 MB / 1.034 GB, free: 164.2 MB / 0.6544 GB " [Timeout remaining time 657] 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 -s ida -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: 10.671888513024896]