Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.001383/0.001383, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001653/0.001653, allocations: 211.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2356/0.2356, allocations: 46.95 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.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_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.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_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.91 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4056, allocations: 66.04 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02551/0.4311, allocations: 19.53 MB / 0.5802 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.447, allocations: 5.4 MB / 0.5854 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006595/0.4536, allocations: 234.8 kB / 0.5857 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02381/0.4774, allocations: 8.839 MB / 0.5943 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.4885, allocations: 2.198 MB / 0.5964 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007021/0.4956, allocations: 1.879 MB / 0.5983 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02408/0.5196, allocations: 14.54 MB / 0.6125 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04734/0.567, allocations: 21.3 MB / 0.6333 GB, free: 9.855 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/0.5807, allocations: 8.156 MB / 0.6412 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01783/0.5985, allocations: 8.803 MB / 0.6498 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008118/0.6066, allocations: 2.102 MB / 0.6519 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00943/0.6161, allocations: 2.347 MB / 0.6542 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008456/0.6245, allocations: 4.333 MB / 0.6584 GB, free: 56 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.016/0.6405, allocations: 6.592 MB / 0.6648 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04012/0.6806, allocations: 28.91 MB / 0.6931 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.417e-06/0.6807, allocations: 3.984 kB / 0.6931 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6807, allocations: 0 / 0.6931 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008997/0.6816, allocations: 3.938 kB / 0.6931 GB, free: 12.43 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06501/0.7466, allocations: 18.94 MB / 0.7116 GB, free: 9.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.178e-05/0.7466, allocations: 8.031 kB / 0.7116 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06479/0.8114, allocations: 11.48 MB / 0.7228 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02886/0.8403, allocations: 9.048 MB / 0.7316 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/0.8417, allocations: 1.059 MB / 0.7327 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006515/0.8482, allocations: 1.375 MB / 0.734 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7014/1.55, allocations: 23.93 MB / 0.7574 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008994/1.551, allocations: 21.31 kB / 0.7574 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006135/1.557, allocations: 0.5673 MB / 0.7579 GB, free: 126.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007494/1.557, allocations: 0.7066 MB / 0.7586 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04495/1.602, allocations: 21.66 MB / 0.7798 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1148/1.717, allocations: 61.12 MB / 0.8395 GB, free: 43.12 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01788/1.735, allocations: 11.33 MB / 0.8505 GB, free: 33.19 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007277/1.742, allocations: 4.508 MB / 0.8549 GB, free: 28.66 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03047/1.773, allocations: 14.32 MB / 0.8689 GB, free: 14.51 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/1.773, allocations: 86.11 kB / 0.869 GB, free: 14.42 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 9.208e-06/1.773, allocations: 4 kB / 0.869 GB, free: 14.41 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03714/1.81, allocations: 15.43 MB / 0.8841 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.81, allocations: 124.7 kB / 0.8842 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/1.821, allocations: 4.98 MB / 0.8891 GB, free: 9.953 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001279/1.823, allocations: 101.7 kB / 0.8892 GB, free: 9.848 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.006005/1.829, allocations: 6.109 MB / 0.8951 GB, free: 4.191 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002887/1.832, allocations: 1.662 MB / 0.8967 GB, free: 2.516 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004861/1.836, allocations: 1.559 MB / 0.8983 GB, free: 0.9492 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.837, allocations: 301.1 kB / 0.8986 GB, free: 0.6523 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007876/1.844, allocations: 4.148 MB / 0.9026 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/1.855, allocations: 7.274 MB / 0.9097 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02016/1.875, allocations: 11.95 MB / 0.9214 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001699/1.876, allocations: 28 kB / 0.9214 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0301/1.906, allocations: 13.06 MB / 0.9342 GB, free: 9.25 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/1.906, allocations: 55.98 kB / 0.9342 GB, free: 9.195 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002402/1.906, allocations: 104 kB / 0.9343 GB, free: 9.094 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007788/1.914, allocations: 3.091 MB / 0.9373 GB, free: 5.992 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007014/1.921, allocations: 1.603 MB / 0.9389 GB, free: 4.387 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/1.922, allocations: 339 kB / 0.9392 GB, free: 4.047 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007391/1.929, allocations: 1.048 MB / 0.9402 GB, free: 2.992 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/1.931, allocations: 384 kB / 0.9406 GB, free: 2.617 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * 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 (814): * Single equations (assignments): 811 * 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.01393/1.945, allocations: 5.39 MB / 0.9459 GB, free: 13.21 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00232/1.947, allocations: 0.5045 MB / 0.9464 GB, free: 12.7 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02253/1.97, allocations: 9.532 MB / 0.9557 GB, free: 3.141 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.615e-05/1.97, allocations: 48 kB / 0.9557 GB, free: 3.094 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-05/1.97, allocations: 4 kB / 0.9557 GB, free: 3.09 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.984e-05/1.97, allocations: 23.91 kB / 0.9558 GB, free: 3.066 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05033/2.02, allocations: 17.98 MB / 0.9733 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-05/2.02, allocations: 0 / 0.9733 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004191/2.025, allocations: 0.7333 MB / 0.974 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007491/2.032, allocations: 2.977 MB / 0.9769 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009853/2.033, allocations: 99.97 kB / 0.977 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007481/2.034, allocations: 150.4 kB / 0.9772 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/2.034, allocations: 0 / 0.9772 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4328/2.467, allocations: 14.16 MB / 0.991 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006784/2.473, allocations: 1.33 MB / 0.9923 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002573/2.476, allocations: 79.52 kB / 0.9924 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00604/2.482, allocations: 367.7 kB / 0.9927 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001698/2.484, allocations: 333.9 kB / 0.993 GB, free: 222.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009116/2.485, allocations: 141.2 kB / 0.9932 GB, free: 222.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007855/2.493, allocations: 3.213 MB / 0.9963 GB, free: 222.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/2.493, allocations: 0 / 0.9963 GB, free: 222.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01364/2.506, allocations: 3.25 MB / 0.9995 GB, free: 221.8 MB / 0.67 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.001626/2.508, allocations: 253 kB / 0.9997 GB, free: 221.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02523/2.533, allocations: 9.519 MB / 1.009 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/2.533, allocations: 0 / 1.009 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0128/2.546, allocations: 4.117 MB / 1.013 GB, free: 217.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008915/2.555, allocations: 1.259 MB / 1.014 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04727/2.602, allocations: 24.51 MB / 1.038 GB, free: 201.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01267/2.615, allocations: 8.638 MB / 1.047 GB, free: 194.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.007002/2.622, allocations: 2.844 MB / 1.049 GB, free: 192.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/2.624, allocations: 397.2 kB / 1.05 GB, free: 192.3 MB / 0.67 GB Notification: Performance of SimCode: time 9.52e-07/2.624, allocations: 0 / 1.05 GB, free: 192.3 MB / 0.67 GB Notification: Performance of Templates: time 0.134/2.758, allocations: 95.77 MB / 1.143 GB, free: 97.94 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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.839494547341019]