Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001577/0.001577, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2493/0.2493, allocations: 46.88 MB / 358.1 MB, free: 10.52 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002415/0.002415, allocations: 83.84 kB / 0.4924 GB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1434, allocations: 65.98 MB / 0.5568 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02787/0.1713, allocations: 22.84 MB / 0.5791 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0152/0.1865, allocations: 5.529 MB / 0.5845 GB, free: 9.441 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005948/0.1924, allocations: 195.4 kB / 0.5847 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3391/0.5315, allocations: 9.555 MB / 0.594 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009671/0.5412, allocations: 2.162 MB / 0.5961 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006085/0.5473, allocations: 1.912 MB / 0.598 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02/0.5673, allocations: 14.46 MB / 0.6121 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05245/0.6197, allocations: 26.53 MB / 0.638 GB, free: 7.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01771/0.6374, allocations: 7.994 MB / 0.6458 GB, free: 188 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01795/0.6554, allocations: 8.819 MB / 0.6544 GB, free: 9.047 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007878/0.6632, allocations: 2.102 MB / 0.6565 GB, free: 6.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.6752, allocations: 2.349 MB / 0.6588 GB, free: 4.613 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009306/0.6845, allocations: 4.345 MB / 0.663 GB, free: 396 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01919/0.7037, allocations: 8.425 MB / 0.6713 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04338/0.747, allocations: 28.77 MB / 0.6993 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.747, allocations: 0 / 0.6993 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.204e-06/0.747, allocations: 0 / 0.6993 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009639/0.748, allocations: 4 kB / 0.6994 GB, free: 11.82 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.06764/0.8157, allocations: 19.02 MB / 0.7179 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.8157, allocations: 8.031 kB / 0.7179 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06319/0.8789, allocations: 11.48 MB / 0.7291 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/0.8996, allocations: 8.892 MB / 0.7378 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/0.9008, allocations: 1.059 MB / 0.7389 GB, free: 3.523 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006257/0.9071, allocations: 1.379 MB / 0.7402 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06655/0.9736, allocations: 23.62 MB / 0.7633 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007324/0.9744, allocations: 23.84 kB / 0.7633 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00734/0.9817, allocations: 0.5708 MB / 0.7639 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00095/0.9826, allocations: 0.7017 MB / 0.7645 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05427/1.037, allocations: 21.74 MB / 0.7858 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8092/1.846, allocations: 72.03 MB / 0.8561 GB, free: 160.9 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02514/1.871, allocations: 28.09 MB / 0.8835 GB, free: 139.8 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00786/1.879, allocations: 4.507 MB / 0.8879 GB, free: 139.7 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03346/1.913, allocations: 16.55 MB / 0.9041 GB, free: 133.2 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/1.913, allocations: 85.23 kB / 0.9042 GB, free: 133.1 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 7.354e-06/1.913, allocations: 0 / 0.9042 GB, free: 133.1 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03457/1.947, allocations: 15.68 MB / 0.9195 GB, free: 126.9 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/1.947, allocations: 129.7 kB / 0.9196 GB, free: 126.8 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007183/1.954, allocations: 5.108 MB / 0.9246 GB, free: 124.2 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.955, allocations: 100.6 kB / 0.9247 GB, free: 124.1 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003382/1.959, allocations: 6.102 MB / 0.9307 GB, free: 119.8 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001914/1.961, allocations: 1.664 MB / 0.9323 GB, free: 118.5 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002297/1.963, allocations: 1.558 MB / 0.9338 GB, free: 117.6 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/1.963, allocations: 305.1 kB / 0.9341 GB, free: 117.3 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005584/1.969, allocations: 4.146 MB / 0.9382 GB, free: 115.1 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007843/1.977, allocations: 7.27 MB / 0.9453 GB, free: 108.7 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/1.991, allocations: 11.97 MB / 0.9569 GB, free: 99.32 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/1.992, allocations: 28 kB / 0.957 GB, free: 99.29 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02274/2.014, allocations: 13.09 MB / 0.9697 GB, free: 86.18 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/2.014, allocations: 51.94 kB / 0.9698 GB, free: 86.13 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/2.015, allocations: 104 kB / 0.9699 GB, free: 86.03 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005804/2.02, allocations: 3.094 MB / 0.9729 GB, free: 82.92 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005866/2.026, allocations: 1.595 MB / 0.9745 GB, free: 81.32 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008829/2.027, allocations: 342.9 kB / 0.9748 GB, free: 80.98 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007002/2.034, allocations: 1.075 MB / 0.9759 GB, free: 79.89 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/2.036, allocations: 384 kB / 0.9762 GB, free: 79.52 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.01141/2.047, allocations: 5.39 MB / 0.9815 GB, free: 74.11 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/2.049, allocations: 0.5278 MB / 0.982 GB, free: 73.58 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/2.067, allocations: 9.545 MB / 0.9913 GB, free: 64 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/2.067, allocations: 48 kB / 0.9914 GB, free: 63.96 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/2.067, allocations: 3.984 kB / 0.9914 GB, free: 63.95 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.833e-05/2.067, allocations: 19.92 kB / 0.9914 GB, free: 63.93 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04563/2.113, allocations: 20.74 MB / 1.012 GB, free: 43.21 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/2.113, allocations: 0 / 1.012 GB, free: 43.21 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003465/2.116, allocations: 0.7372 MB / 1.012 GB, free: 42.48 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006055/2.122, allocations: 2.965 MB / 1.015 GB, free: 39.5 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/2.123, allocations: 99.97 kB / 1.015 GB, free: 39.4 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006844/2.124, allocations: 154.4 kB / 1.016 GB, free: 39.24 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/2.124, allocations: 3.984 kB / 1.016 GB, free: 39.24 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02182/2.146, allocations: 14.18 MB / 1.029 GB, free: 25.02 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003585/2.149, allocations: 1.398 MB / 1.031 GB, free: 23.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001797/2.151, allocations: 79.94 kB / 1.031 GB, free: 23.52 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004004/2.155, allocations: 367.6 kB / 1.031 GB, free: 23.16 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/2.156, allocations: 323.4 kB / 1.031 GB, free: 22.84 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007155/2.157, allocations: 136 kB / 1.032 GB, free: 22.71 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.006641/2.164, allocations: 3.427 MB / 1.035 GB, free: 19.29 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.8e-07/2.164, allocations: 0 / 1.035 GB, free: 19.29 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01176/2.175, allocations: 3.23 MB / 1.038 GB, free: 16.05 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.001644/2.177, allocations: 256.5 kB / 1.038 GB, free: 15.79 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01824/2.195, allocations: 9.52 MB / 1.048 GB, free: 6.27 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.195, allocations: 0 / 1.048 GB, free: 6.27 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.009276/2.205, allocations: 4.115 MB / 1.052 GB, free: 2.133 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00994/2.214, allocations: 1.268 MB / 1.053 GB, free: 0.8984 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09257/2.307, allocations: 23.87 MB / 1.076 GB, free: 9.023 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02808/2.335, allocations: 8.715 MB / 1.085 GB, free: 276 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003766/2.339, allocations: 471.4 kB / 1.085 GB, free: 15.8 MB / 0.6857 GB Notification: Performance of SimCode: time 1.813e-06/2.339, allocations: 4 kB / 1.085 GB, free: 15.8 MB / 0.6857 GB Notification: Performance of Templates: time 1.088/3.427, allocations: 385.9 MB / 1.462 GB, free: 176 MB / 0.7013 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 24.003901561023667]