Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009455/0.0009455, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.0009485/0.0009485, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2662/0.2662, allocations: 32.8 MB / 294.3 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.353e-05, allocations: 2.312 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01705/0.01707, allocations: 21.92 MB / 397.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.02901, allocations: 5.529 MB / 403.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004723/0.03373, allocations: 238.8 kB / 403.7 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.04465, allocations: 10.15 MB / 413.9 MB, free: 14.65 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006573/0.05123, allocations: 2.244 MB / 416.1 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003603/0.05483, allocations: 1.895 MB / 418 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01194/0.06677, allocations: 15.02 MB / 433 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2185/0.2852, allocations: 21.18 MB / 454.2 MB, free: 48.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02111/0.3064, allocations: 12.02 MB / 466.2 MB, free: 48.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01348/0.3198, allocations: 8.758 MB / 475 MB, free: 48.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007695/0.3275, allocations: 2.098 MB / 477.1 MB, free: 48.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.338, allocations: 2.354 MB / 479.4 MB, free: 47.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008277/0.3463, allocations: 4.487 MB / 483.9 MB, free: 45.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01447/0.3608, allocations: 5.748 MB / 489.7 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02212/0.3829, allocations: 14.53 MB / 0.4924 GB, free: 37.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3829, allocations: 1.297 kB / 0.4924 GB, free: 37.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3829, allocations: 0.625 kB / 0.4924 GB, free: 37.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009024/0.3838, allocations: 0 / 0.4924 GB, free: 37.74 MB / 410.7 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.04117/0.425, allocations: 20.25 MB / 0.5121 GB, free: 28.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.425, allocations: 12.03 kB / 0.5122 GB, free: 28.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04374/0.4688, allocations: 13.82 MB / 0.5256 GB, free: 17.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.4832, allocations: 8.284 MB / 0.5337 GB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006037/0.4838, allocations: 1.061 MB / 0.5348 GB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00332/0.4871, allocations: 1.375 MB / 0.5361 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02519/0.5123, allocations: 12.75 MB / 0.5486 GB, free: 9.844 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000239/0.5125, allocations: 11.94 kB / 0.5486 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/0.5137, allocations: 0.5792 MB / 0.5491 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005457/0.5142, allocations: 0.6976 MB / 0.5498 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.529, allocations: 6.767 MB / 0.5564 GB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2915/0.8205, allocations: 55.88 MB / 0.611 GB, free: 80.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.8321, allocations: 8.5 MB / 0.6193 GB, free: 79.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/0.8351, allocations: 1.817 MB / 0.6211 GB, free: 79.81 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01693/0.852, allocations: 9.064 MB / 0.6299 GB, free: 79.22 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.8521, allocations: 89.55 kB / 0.63 GB, free: 79.17 MB / 474.7 MB Notification: Performance of pre-optimization done (n=465): time 8.115e-06/0.8521, allocations: 3.984 kB / 0.63 GB, free: 79.17 MB / 474.7 MB Notification: Performance of matching and sorting (n=465): time 0.01685/0.8689, allocations: 8.576 MB / 0.6384 GB, free: 78.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.869, allocations: 126.3 kB / 0.6385 GB, free: 78.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005426/0.8744, allocations: 4.809 MB / 0.6432 GB, free: 78.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002089/0.8746, allocations: 99.77 kB / 0.6433 GB, free: 78.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002761/0.8774, allocations: 6.453 MB / 0.6496 GB, free: 74.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009974/0.8784, allocations: 1.737 MB / 0.6513 GB, free: 73.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/0.8804, allocations: 1.773 MB / 0.653 GB, free: 73.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.8804, allocations: 478.1 kB / 0.6535 GB, free: 72.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.8824, allocations: 1.181 MB / 0.6546 GB, free: 72.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0031/0.8855, allocations: 5.905 MB / 0.6604 GB, free: 67.22 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005779/0.8913, allocations: 7.727 MB / 0.668 GB, free: 61.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.202e-05/0.8913, allocations: 29.09 kB / 0.668 GB, free: 61.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.009019/0.9003, allocations: 6.858 MB / 0.6747 GB, free: 60.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.9004, allocations: 50.03 kB / 0.6747 GB, free: 60.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.704e-05/0.9005, allocations: 103.3 kB / 0.6748 GB, free: 60.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/0.9032, allocations: 1.646 MB / 0.6764 GB, free: 60.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.906, allocations: 1.594 MB / 0.678 GB, free: 60.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004338/0.9065, allocations: 363.3 kB / 0.6783 GB, free: 60.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/0.9097, allocations: 1.045 MB / 0.6794 GB, free: 60.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/0.9101, allocations: 391.4 kB / 0.6797 GB, free: 60.28 MB / 474.7 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.003219/0.9133, allocations: 0.6545 MB / 0.6804 GB, free: 60.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006752/0.914, allocations: 0.6446 MB / 0.681 GB, free: 59.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006039/0.9201, allocations: 4.509 MB / 0.6854 GB, free: 59.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.9201, allocations: 52.31 kB / 0.6855 GB, free: 59.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.9201, allocations: 0 / 0.6855 GB, free: 59.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/0.9201, allocations: 21.94 kB / 0.6855 GB, free: 59.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.9391, allocations: 14.22 MB / 0.6994 GB, free: 56.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.9391, allocations: 0 / 0.6994 GB, free: 56.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.9406, allocations: 0.7296 MB / 0.7001 GB, free: 56.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002461/0.9431, allocations: 1.526 MB / 0.7016 GB, free: 54.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.9433, allocations: 105.2 kB / 0.7017 GB, free: 54.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003716/0.9437, allocations: 176.2 kB / 0.7018 GB, free: 54.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.9437, allocations: 4 kB / 0.7018 GB, free: 54.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009509/0.9532, allocations: 5.545 MB / 0.7073 GB, free: 49.55 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/0.9554, allocations: 1.174 MB / 0.7084 GB, free: 48.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004958/0.9559, allocations: 80 kB / 0.7085 GB, free: 48.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.9577, allocations: 361.6 kB / 0.7088 GB, free: 48.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005569/0.9582, allocations: 348.3 kB / 0.7092 GB, free: 48.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/0.9585, allocations: 131.8 kB / 0.7093 GB, free: 47.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002865/0.9613, allocations: 2.062 MB / 0.7113 GB, free: 46.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9613, allocations: 0 / 0.7113 GB, free: 46.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006843/0.9682, allocations: 3.253 MB / 0.7145 GB, free: 42.93 MB / 474.7 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.0004902/0.9687, allocations: 259.9 kB / 0.7147 GB, free: 42.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008241/0.9769, allocations: 5.071 MB / 0.7197 GB, free: 38.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9769, allocations: 0 / 0.7197 GB, free: 38.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003802/0.9807, allocations: 2.302 MB / 0.7219 GB, free: 36.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/0.9843, allocations: 1.352 MB / 0.7232 GB, free: 35.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02666/1.011, allocations: 20.24 MB / 0.743 GB, free: 16.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/1.013, allocations: 3.84 MB / 0.7468 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003919/1.017, allocations: 2.411 MB / 0.7491 GB, free: 9.723 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007324/1.018, allocations: 400.4 kB / 0.7495 GB, free: 9.332 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/1.018, allocations: 0 / 0.7495 GB, free: 9.332 MB / 474.7 MB Notification: Performance of Templates: time 0.2816/1.299, allocations: 81.76 MB / 0.8293 GB, free: 122.3 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.433697062078863]