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.001243/0.001243, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001335/0.001335, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.479/1.479, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2303/0.2303, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.001944/0.001944, allocations: 63.91 kB / 0.4921 GB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1431, allocations: 65.99 MB / 0.5565 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02693/0.17, allocations: 22.83 MB / 0.5788 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.1849, allocations: 5.529 MB / 0.5842 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006686/0.1916, allocations: 238.8 kB / 0.5844 GB, free: 8.652 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3443/0.5359, allocations: 9.56 MB / 0.5938 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009188/0.5451, allocations: 2.153 MB / 0.5959 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005773/0.5509, allocations: 1.914 MB / 0.5977 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0203/0.5712, allocations: 14.47 MB / 0.6119 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05097/0.6221, allocations: 26.53 MB / 0.6378 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01818/0.6403, allocations: 8.151 MB / 0.6457 GB, free: 0 / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01752/0.6578, allocations: 8.807 MB / 0.6543 GB, free: 8.652 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006777/0.6646, allocations: 2.098 MB / 0.6564 GB, free: 6.555 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/0.6753, allocations: 2.35 MB / 0.6587 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009628/0.6849, allocations: 4.335 MB / 0.6629 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02011/0.705, allocations: 8.426 MB / 0.6712 GB, free: 7.594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0414/0.7465, allocations: 28.78 MB / 0.6993 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7465, allocations: 0 / 0.6993 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7465, allocations: 0 / 0.6993 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009891/0.7474, allocations: 0 / 0.6993 GB, free: 11.35 MB / 0.5137 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.06803/0.8155, allocations: 19 MB / 0.7178 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/0.8155, allocations: 12.03 kB / 0.7178 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06272/0.8783, allocations: 11.48 MB / 0.729 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/0.8986, allocations: 8.885 MB / 0.7377 GB, free: 4.105 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/0.8998, allocations: 1.069 MB / 0.7388 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00639/0.9062, allocations: 1.369 MB / 0.7401 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06425/0.9705, allocations: 23.63 MB / 0.7632 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005866/0.9711, allocations: 19.91 kB / 0.7632 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005419/0.9765, allocations: 0.5711 MB / 0.7638 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008372/0.9773, allocations: 0.7056 MB / 0.7644 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05113/1.028, allocations: 21.74 MB / 0.7857 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7272/1.756, allocations: 72.03 MB / 0.856 GB, free: 160.1 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02563/1.781, allocations: 28.08 MB / 0.8834 GB, free: 139 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008017/1.789, allocations: 4.512 MB / 0.8878 GB, free: 138.9 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02938/1.819, allocations: 16.56 MB / 0.904 GB, free: 132.4 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/1.819, allocations: 81.73 kB / 0.9041 GB, free: 132.3 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 6.442e-06/1.819, allocations: 0 / 0.9041 GB, free: 132.3 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03406/1.853, allocations: 15.69 MB / 0.9194 GB, free: 126 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/1.853, allocations: 124.4 kB / 0.9195 GB, free: 125.9 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008102/1.861, allocations: 5.116 MB / 0.9245 GB, free: 123.3 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/1.862, allocations: 100.1 kB / 0.9246 GB, free: 123.2 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.00405/1.866, allocations: 6.1 MB / 0.9306 GB, free: 118.9 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002457/1.869, allocations: 1.665 MB / 0.9322 GB, free: 117.6 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002654/1.871, allocations: 1.554 MB / 0.9337 GB, free: 116.7 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.27e-05/1.871, allocations: 301.1 kB / 0.934 GB, free: 116.4 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006081/1.877, allocations: 4.154 MB / 0.9381 GB, free: 114.2 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008136/1.885, allocations: 7.266 MB / 0.9452 GB, free: 107.8 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/1.899, allocations: 11.96 MB / 0.9568 GB, free: 98.54 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.899, allocations: 28 kB / 0.9569 GB, free: 98.51 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02083/1.92, allocations: 13.09 MB / 0.9696 GB, free: 85.4 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 7.408e-05/1.92, allocations: 48 kB / 0.9697 GB, free: 85.35 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/1.921, allocations: 104 kB / 0.9698 GB, free: 85.25 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005724/1.926, allocations: 3.099 MB / 0.9728 GB, free: 82.14 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005777/1.932, allocations: 1.595 MB / 0.9744 GB, free: 80.54 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007672/1.933, allocations: 338.9 kB / 0.9747 GB, free: 80.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006483/1.939, allocations: 1.075 MB / 0.9758 GB, free: 79.12 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/1.941, allocations: 387.9 kB / 0.9761 GB, free: 78.74 MB / 0.6388 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.011/1.952, allocations: 5.395 MB / 0.9814 GB, free: 73.33 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001914/1.954, allocations: 0.52 MB / 0.9819 GB, free: 72.81 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01945/1.973, allocations: 9.549 MB / 0.9912 GB, free: 63.23 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.275e-05/1.973, allocations: 48 kB / 0.9913 GB, free: 63.18 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/1.973, allocations: 4 kB / 0.9913 GB, free: 63.18 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001659/1.973, allocations: 23.91 kB / 0.9913 GB, free: 63.15 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0436/2.017, allocations: 20.73 MB / 1.012 GB, free: 42.44 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.647e-05/2.017, allocations: 0 / 1.012 GB, free: 42.44 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003396/2.02, allocations: 0.741 MB / 1.012 GB, free: 41.7 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/2.026, allocations: 2.969 MB / 1.015 GB, free: 38.71 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009453/2.027, allocations: 104 kB / 1.015 GB, free: 38.61 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006198/2.027, allocations: 150.4 kB / 1.015 GB, free: 38.46 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.027, allocations: 0 / 1.015 GB, free: 38.46 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/2.046, allocations: 14.18 MB / 1.029 GB, free: 24.24 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003451/2.049, allocations: 1.398 MB / 1.031 GB, free: 22.82 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/2.051, allocations: 79.94 kB / 1.031 GB, free: 22.74 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003766/2.055, allocations: 363.6 kB / 1.031 GB, free: 22.38 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/2.056, allocations: 319.4 kB / 1.031 GB, free: 22.07 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007071/2.057, allocations: 132 kB / 1.031 GB, free: 21.94 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006096/2.063, allocations: 3.423 MB / 1.035 GB, free: 18.52 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.5e-07/2.063, allocations: 0 / 1.035 GB, free: 18.52 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.0102/2.073, allocations: 3.238 MB / 1.038 GB, free: 15.27 MB / 0.6388 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.001257/2.074, allocations: 258.4 kB / 1.038 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01663/2.091, allocations: 9.517 MB / 1.048 GB, free: 5.496 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/2.091, allocations: 0 / 1.048 GB, free: 5.496 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.009417/2.1, allocations: 4.119 MB / 1.052 GB, free: 1.355 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008654/2.109, allocations: 1.265 MB / 1.053 GB, free: 124 kB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05436/2.163, allocations: 23.86 MB / 1.076 GB, free: 8.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01661/2.18, allocations: 8.711 MB / 1.085 GB, free: 15.5 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/2.182, allocations: 475.3 kB / 1.085 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of SimCode: time 1.523e-06/2.182, allocations: 0 / 1.085 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of Templates: time 1.071/3.254, allocations: 385.9 MB / 1.462 GB, free: 174.7 MB / 0.7013 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/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: 23.54908248601714]