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.00114/0.00114, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001236/0.001236, allocations: 161.4 kB / 24.55 MB, free: 20 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 0.9299/0.9299, allocations: 177.1 MB / 205 MB, free: 5.258 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.2442/0.2442, allocations: 32.8 MB / 294.3 MB, free: 1.234 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.082e-06/1.082e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.643e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01586/0.01587, allocations: 21.94 MB / 398 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009857/0.02573, allocations: 5.521 MB / 403.5 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.02831, allocations: 230.8 kB / 403.7 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.03854, allocations: 10.15 MB / 413.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005996/0.04454, allocations: 2.244 MB / 416.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.04756, allocations: 1.893 MB / 418 MB, free: 10.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01265/0.06021, allocations: 15.03 MB / 433 MB, free: 11.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1907/0.2509, allocations: 21.18 MB / 454.2 MB, free: 48.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.2647, allocations: 12.03 MB / 466.2 MB, free: 48.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009518/0.2742, allocations: 8.778 MB / 475 MB, free: 47.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004863/0.2791, allocations: 2.096 MB / 477.1 MB, free: 47.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00478/0.2839, allocations: 2.349 MB / 479.5 MB, free: 47.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003141/0.287, allocations: 4.489 MB / 483.9 MB, free: 45.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007939/0.295, allocations: 5.733 MB / 489.7 MB, free: 43.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.307, allocations: 14.52 MB / 0.4924 GB, free: 37.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.307, allocations: 2.531 kB / 0.4924 GB, free: 37.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.307, allocations: 0 / 0.4924 GB, free: 37.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006/0.3076, allocations: 0 / 0.4924 GB, free: 37.7 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.02981/0.3374, allocations: 20.25 MB / 0.5122 GB, free: 28.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3375, allocations: 8.031 kB / 0.5122 GB, free: 28.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02968/0.3671, allocations: 13.83 MB / 0.5257 GB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.3777, allocations: 8.141 MB / 0.5336 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004361/0.3782, allocations: 1.053 MB / 0.5346 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.3798, allocations: 1.381 MB / 0.536 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01916/0.399, allocations: 12.76 MB / 0.5484 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002157/0.3992, allocations: 11.42 kB / 0.5485 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/0.4002, allocations: 0.5789 MB / 0.549 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004829/0.4007, allocations: 0.6978 MB / 0.5497 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.4146, allocations: 6.766 MB / 0.5563 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2578/0.6724, allocations: 55.88 MB / 0.6109 GB, free: 81.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008707/0.6811, allocations: 8.501 MB / 0.6192 GB, free: 80.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.6834, allocations: 1.815 MB / 0.621 GB, free: 80.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/0.6957, allocations: 9.063 MB / 0.6298 GB, free: 79.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.6957, allocations: 88.38 kB / 0.6299 GB, free: 79.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=465): time 6.122e-06/0.6957, allocations: 3.031 kB / 0.6299 GB, free: 79.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=465): time 0.01646/0.7122, allocations: 8.577 MB / 0.6383 GB, free: 79.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.7123, allocations: 126 kB / 0.6384 GB, free: 79.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006148/0.7184, allocations: 4.806 MB / 0.6431 GB, free: 78.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.7187, allocations: 99.61 kB / 0.6432 GB, free: 78.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003002/0.7217, allocations: 6.454 MB / 0.6495 GB, free: 75.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.7227, allocations: 1.738 MB / 0.6512 GB, free: 74.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001901/0.7246, allocations: 1.766 MB / 0.6529 GB, free: 74.11 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.7246, allocations: 478.6 kB / 0.6534 GB, free: 73.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/0.727, allocations: 1.178 MB / 0.6545 GB, free: 73.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/0.731, allocations: 5.905 MB / 0.6603 GB, free: 67.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00719/0.7382, allocations: 7.729 MB / 0.6678 GB, free: 62.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.14e-05/0.7383, allocations: 31.47 kB / 0.6679 GB, free: 62.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01131/0.7496, allocations: 6.853 MB / 0.6745 GB, free: 61.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.7497, allocations: 52.34 kB / 0.6746 GB, free: 61.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.725e-05/0.7498, allocations: 105.8 kB / 0.6747 GB, free: 61.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/0.7533, allocations: 1.653 MB / 0.6763 GB, free: 61.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00383/0.7571, allocations: 1.598 MB / 0.6779 GB, free: 61.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004938/0.7576, allocations: 367 kB / 0.6782 GB, free: 61.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/0.7614, allocations: 1.04 MB / 0.6792 GB, free: 61.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004885/0.7619, allocations: 389.7 kB / 0.6796 GB, free: 61.05 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.003377/0.7653, allocations: 0.6616 MB / 0.6803 GB, free: 60.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008043/0.7661, allocations: 0.6445 MB / 0.6809 GB, free: 60.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00728/0.7733, allocations: 4.494 MB / 0.6853 GB, free: 60.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/0.7734, allocations: 46.88 kB / 0.6853 GB, free: 60.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.7734, allocations: 3.938 kB / 0.6853 GB, free: 60.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/0.7734, allocations: 25.66 kB / 0.6853 GB, free: 60.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/0.7934, allocations: 14.21 MB / 0.6992 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.7934, allocations: 3.906 kB / 0.6992 GB, free: 57.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/0.7949, allocations: 0.7335 MB / 0.6999 GB, free: 57.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.7973, allocations: 1.527 MB / 0.7014 GB, free: 56.28 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.7975, allocations: 99.2 kB / 0.7015 GB, free: 56.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003187/0.7978, allocations: 187.3 kB / 0.7017 GB, free: 56.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.7978, allocations: 0 / 0.7017 GB, free: 56.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006912/0.8047, allocations: 5.542 MB / 0.7071 GB, free: 50.97 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.8062, allocations: 1.176 MB / 0.7083 GB, free: 49.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/0.8066, allocations: 84 kB / 0.7084 GB, free: 49.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.8079, allocations: 357.9 kB / 0.7087 GB, free: 49.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/0.8084, allocations: 346.5 kB / 0.709 GB, free: 49.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/0.8086, allocations: 139 kB / 0.7092 GB, free: 49.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002005/0.8106, allocations: 2.061 MB / 0.7112 GB, free: 47.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8106, allocations: 4 kB / 0.7112 GB, free: 47.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005844/0.8164, allocations: 3.254 MB / 0.7144 GB, free: 44.33 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.0004381/0.8168, allocations: 252.3 kB / 0.7146 GB, free: 44.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006518/0.8234, allocations: 5.08 MB / 0.7196 GB, free: 39.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8234, allocations: 4 kB / 0.7196 GB, free: 39.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002923/0.8263, allocations: 2.291 MB / 0.7218 GB, free: 38.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.8295, allocations: 1.336 MB / 0.7231 GB, free: 36.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02446/0.854, allocations: 20.24 MB / 0.7429 GB, free: 17.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/0.8565, allocations: 3.848 MB / 0.7466 GB, free: 13.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003856/0.8603, allocations: 2.407 MB / 0.749 GB, free: 11.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008158/0.8611, allocations: 403.1 kB / 0.7494 GB, free: 10.89 MB / 474.7 MB Notification: Performance of SimCode: time 2.715e-06/0.8611, allocations: 4 kB / 0.7494 GB, free: 10.89 MB / 474.7 MB Notification: Performance of Templates: time 0.2497/1.111, allocations: 86.29 MB / 0.8336 GB, free: 119.5 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: 5.98596232291311]