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.001111/0.001111, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001215/0.001215, allocations: 167.1 kB / 24.82 MB, free: 8.879 MB / 18.57 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.105/1.105, allocations: 177.2 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.3002/0.3002, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 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.[0-9,]+..re|I.[0-9,]+..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.[0-9,]+..re|I.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.263e-05, allocations: 5.266 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02345/0.02348, allocations: 21.14 MB / 399.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.03666, allocations: 5.514 MB / 405.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0063/0.04296, allocations: 234.8 kB / 405.4 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01312/0.05608, allocations: 9.854 MB / 415.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00913/0.06521, allocations: 2.244 MB / 417.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.06968, allocations: 1.872 MB / 419.4 MB, free: 9.359 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01531/0.085, allocations: 15.02 MB / 434.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3897/0.4747, allocations: 21.18 MB / 455.6 MB, free: 48.32 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0259/0.5006, allocations: 12.03 MB / 467.6 MB, free: 48.32 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01479/0.5154, allocations: 8.804 MB / 476.4 MB, free: 47.7 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01019/0.5256, allocations: 2.096 MB / 478.5 MB, free: 47.7 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.014/0.5396, allocations: 2.357 MB / 480.9 MB, free: 47.64 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009971/0.5496, allocations: 4.484 MB / 485.3 MB, free: 45.44 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01632/0.5659, allocations: 5.734 MB / 491.1 MB, free: 43.05 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02431/0.5902, allocations: 14.53 MB / 0.4938 GB, free: 37.01 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5902, allocations: 0 / 0.4938 GB, free: 37.01 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5902, allocations: 0 / 0.4938 GB, free: 37.01 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0009041/0.5911, allocations: 0 / 0.4938 GB, free: 37.01 MB / 410.8 MB 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.0481/0.6392, allocations: 19.43 MB / 0.5127 GB, free: 27.23 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6393, allocations: 12.03 kB / 0.5127 GB, free: 27.22 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.6736, allocations: 9.658 MB / 0.5222 GB, free: 19.41 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.6884, allocations: 7.484 MB / 0.5295 GB, free: 13.17 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008964/0.6893, allocations: 1.057 MB / 0.5305 GB, free: 12.12 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00549/0.6948, allocations: 1.38 MB / 0.5319 GB, free: 10.76 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03807/0.7329, allocations: 11.69 MB / 0.5433 GB, free: 15.51 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004633/0.7334, allocations: 14.19 kB / 0.5433 GB, free: 15.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003902/0.7373, allocations: 0.5787 MB / 0.5439 GB, free: 14.94 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000703/0.738, allocations: 0.7017 MB / 0.5445 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.7588, allocations: 5.257 MB / 0.5497 GB, free: 8.969 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1061/0.8649, allocations: 54.63 MB / 0.603 GB, free: 3.988 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.301/1.166, allocations: 7.516 MB / 0.6104 GB, free: 94.36 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/1.169, allocations: 1.532 MB / 0.6119 GB, free: 94.28 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01258/1.181, allocations: 8.352 MB / 0.62 GB, free: 93.67 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/1.182, allocations: 94.83 kB / 0.6201 GB, free: 93.62 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 6.191e-06/1.182, allocations: 0 / 0.6201 GB, free: 93.62 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.01351/1.195, allocations: 7.653 MB / 0.6276 GB, free: 93.16 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/1.195, allocations: 128.9 kB / 0.6277 GB, free: 93.06 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005944/1.201, allocations: 4.711 MB / 0.6323 GB, free: 92.67 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002279/1.201, allocations: 98.39 kB / 0.6324 GB, free: 92.64 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003382/1.205, allocations: 6.481 MB / 0.6387 GB, free: 89.18 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001124/1.206, allocations: 1.747 MB / 0.6404 GB, free: 88.12 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00184/1.208, allocations: 1.794 MB / 0.6422 GB, free: 87.98 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/1.208, allocations: 479.7 kB / 0.6426 GB, free: 87.51 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/1.209, allocations: 0.8964 MB / 0.6435 GB, free: 87.5 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/1.212, allocations: 5.671 MB / 0.6491 GB, free: 81.86 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006745/1.219, allocations: 7.292 MB / 0.6562 GB, free: 76.09 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-05/1.219, allocations: 29.91 kB / 0.6562 GB, free: 76.09 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01074/1.229, allocations: 6.194 MB / 0.6623 GB, free: 75.56 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/1.229, allocations: 49 kB / 0.6623 GB, free: 75.56 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001116/1.23, allocations: 108.8 kB / 0.6624 GB, free: 75.56 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/1.232, allocations: 1.601 MB / 0.664 GB, free: 75.41 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/1.235, allocations: 1.44 MB / 0.6654 GB, free: 75.41 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003947/1.235, allocations: 354.5 kB / 0.6657 GB, free: 75.37 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/1.238, allocations: 0.8305 MB / 0.6665 GB, free: 74.91 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/1.239, allocations: 329.6 kB / 0.6668 GB, free: 74.91 MB / 474.8 MB 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.003769/1.242, allocations: 0.6608 MB / 0.6675 GB, free: 74.68 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007322/1.243, allocations: 0.6414 MB / 0.6681 GB, free: 74.4 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005656/1.249, allocations: 3.98 MB / 0.672 GB, free: 74.06 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.29e-05/1.249, allocations: 46.41 kB / 0.672 GB, free: 74.06 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.249, allocations: 3.188 kB / 0.672 GB, free: 74.06 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/1.249, allocations: 25.02 kB / 0.6721 GB, free: 74.06 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/1.265, allocations: 10.36 MB / 0.6822 GB, free: 71.81 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.265, allocations: 0 / 0.6822 GB, free: 71.81 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/1.267, allocations: 0.5894 MB / 0.6828 GB, free: 71.79 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/1.269, allocations: 1.465 MB / 0.6842 GB, free: 71.48 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002368/1.269, allocations: 103.5 kB / 0.6843 GB, free: 71.41 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002942/1.27, allocations: 172.9 kB / 0.6845 GB, free: 71.36 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.27, allocations: 3.938 kB / 0.6845 GB, free: 71.35 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005814/1.275, allocations: 4.81 MB / 0.6892 GB, free: 69.92 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.277, allocations: 1.045 MB / 0.6902 GB, free: 69.28 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.277, allocations: 78.41 kB / 0.6902 GB, free: 69.22 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.278, allocations: 147.5 kB / 0.6904 GB, free: 69.16 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/1.279, allocations: 318.6 kB / 0.6907 GB, free: 69.1 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.279, allocations: 97.69 kB / 0.6908 GB, free: 69.07 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.001755/1.281, allocations: 1.918 MB / 0.6927 GB, free: 68.59 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/1.281, allocations: 0 / 0.6927 GB, free: 68.59 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007455/1.288, allocations: 3.254 MB / 0.6958 GB, free: 67.03 MB / 474.8 MB 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.0005592/1.289, allocations: 259.6 kB / 0.6961 GB, free: 66.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.006229/1.295, allocations: 4.555 MB / 0.7005 GB, free: 63.23 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.295, allocations: 0 / 0.7005 GB, free: 63.23 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002406/1.297, allocations: 2.038 MB / 0.7025 GB, free: 61.6 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003002/1.3, allocations: 1.352 MB / 0.7038 GB, free: 60.51 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03011/1.331, allocations: 20.03 MB / 0.7234 GB, free: 42.37 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003308/1.334, allocations: 3.846 MB / 0.7272 GB, free: 38.85 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002837/1.337, allocations: 0.7696 MB / 0.7279 GB, free: 38.08 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.339, allocations: 1.259 MB / 0.7291 GB, free: 36.82 MB / 474.8 MB Notification: Performance of SimCode: time 1.804e-06/1.339, allocations: 0 / 0.7291 GB, free: 36.82 MB / 474.8 MB Notification: Performance of Templates: time 0.3409/1.679, allocations: 88.49 MB / 0.8156 GB, free: 128.3 MB / 0.4949 GB " [Timeout remaining time 658] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.889672332908958]