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.0009618/0.0009618, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001021/0.001021, allocations: 165.9 kB / 24.99 MB, free: 8.336 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 0.9825/0.9825, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2779/0.2779, allocations: 34.26 MB / 296 MB, free: 0.7773 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 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.096e-05, allocations: 13.62 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01826/0.01829, allocations: 21.8 MB / 399.8 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.02998, allocations: 5.525 MB / 405.3 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003972/0.03395, allocations: 230.8 kB / 405.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.04554, allocations: 10.12 MB / 415.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007697/0.05323, allocations: 2.24 MB / 417.9 MB, free: 10.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.05707, allocations: 1.888 MB / 419.8 MB, free: 9.016 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.06999, allocations: 15.01 MB / 434.8 MB, free: 9.941 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3313/0.4013, allocations: 21.17 MB / 456 MB, free: 47.73 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01361/0.4149, allocations: 12.02 MB / 468 MB, free: 47.73 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009692/0.4246, allocations: 8.725 MB / 476.7 MB, free: 47.05 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.003235/0.4278, allocations: 2.099 MB / 478.8 MB, free: 47.05 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003359/0.4312, allocations: 2.359 MB / 481.2 MB, free: 47 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002573/0.4337, allocations: 4.488 MB / 485.7 MB, free: 44.79 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005487/0.4392, allocations: 5.743 MB / 491.4 MB, free: 42.4 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.4495, allocations: 14.53 MB / 0.4941 GB, free: 36.34 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4495, allocations: 0 / 0.4941 GB, free: 36.34 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4495, allocations: 4.094 kB / 0.4941 GB, free: 36.34 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003121/0.4498, allocations: 3.344 kB / 0.4941 GB, free: 36.34 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.03365/0.4835, allocations: 20.24 MB / 0.5139 GB, free: 26.18 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4835, allocations: 8.031 kB / 0.5139 GB, free: 26.18 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04651/0.53, allocations: 13.82 MB / 0.5274 GB, free: 14.64 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/0.5459, allocations: 8.294 MB / 0.5355 GB, free: 6.664 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005778/0.5464, allocations: 1.054 MB / 0.5365 GB, free: 5.617 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003236/0.5497, allocations: 1.38 MB / 0.5379 GB, free: 4.25 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02172/0.5714, allocations: 12.75 MB / 0.5503 GB, free: 7.344 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002253/0.5716, allocations: 11.95 kB / 0.5503 GB, free: 7.332 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.5727, allocations: 0.5733 MB / 0.5509 GB, free: 6.77 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004881/0.5732, allocations: 0.7017 MB / 0.5516 GB, free: 6.066 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.5881, allocations: 6.762 MB / 0.5582 GB, free: 15.3 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2555/0.8436, allocations: 55.88 MB / 0.6127 GB, free: 108.2 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.8544, allocations: 8.52 MB / 0.6211 GB, free: 107.7 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.8574, allocations: 1.813 MB / 0.6228 GB, free: 107.6 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01464/0.872, allocations: 9.062 MB / 0.6317 GB, free: 107 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.8721, allocations: 82.84 kB / 0.6318 GB, free: 106.9 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 7.414e-06/0.8721, allocations: 0 / 0.6318 GB, free: 106.9 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.02141/0.8935, allocations: 8.577 MB / 0.6401 GB, free: 106.5 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.8936, allocations: 127.4 kB / 0.6403 GB, free: 106.4 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006695/0.9003, allocations: 4.811 MB / 0.645 GB, free: 105.6 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.9005, allocations: 97.95 kB / 0.6451 GB, free: 105.6 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003587/0.9041, allocations: 6.455 MB / 0.6514 GB, free: 102 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009579/0.9051, allocations: 1.735 MB / 0.653 GB, free: 101 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.9068, allocations: 1.771 MB / 0.6548 GB, free: 100.8 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.9068, allocations: 480.7 kB / 0.6552 GB, free: 100.4 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001854/0.9086, allocations: 1.171 MB / 0.6564 GB, free: 100.3 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00334/0.912, allocations: 5.908 MB / 0.6621 GB, free: 94.66 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006584/0.9186, allocations: 7.725 MB / 0.6697 GB, free: 88.46 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.306e-05/0.9186, allocations: 35.09 kB / 0.6697 GB, free: 88.46 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.009261/0.9279, allocations: 6.844 MB / 0.6764 GB, free: 86.95 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.9279, allocations: 51.09 kB / 0.6765 GB, free: 86.95 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.049e-05/0.928, allocations: 109 kB / 0.6766 GB, free: 86.94 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/0.9306, allocations: 1.656 MB / 0.6782 GB, free: 86.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/0.9332, allocations: 1.587 MB / 0.6797 GB, free: 86.43 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004422/0.9337, allocations: 371.7 kB / 0.6801 GB, free: 86.32 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/0.937, allocations: 1.04 MB / 0.6811 GB, free: 85.75 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000409/0.9374, allocations: 393.4 kB / 0.6815 GB, free: 85.68 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.00328/0.9406, allocations: 0.6569 MB / 0.6821 GB, free: 85.14 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008228/0.9415, allocations: 0.6382 MB / 0.6827 GB, free: 84.8 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006337/0.9478, allocations: 4.507 MB / 0.6871 GB, free: 83.33 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.9478, allocations: 47.25 kB / 0.6872 GB, free: 83.33 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.9478, allocations: 4 kB / 0.6872 GB, free: 83.32 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.9479, allocations: 22.5 kB / 0.6872 GB, free: 83.32 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.9664, allocations: 14.22 MB / 0.7011 GB, free: 75.14 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.9664, allocations: 3.938 kB / 0.7011 GB, free: 75.14 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.9679, allocations: 0.7322 MB / 0.7018 GB, free: 74.55 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/0.9703, allocations: 1.518 MB / 0.7033 GB, free: 73.35 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/0.9705, allocations: 99.73 kB / 0.7034 GB, free: 73.26 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002974/0.9708, allocations: 177.8 kB / 0.7036 GB, free: 73.11 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9708, allocations: 3.938 kB / 0.7036 GB, free: 73.1 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/0.9785, allocations: 5.559 MB / 0.709 GB, free: 68 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/0.9804, allocations: 1.173 MB / 0.7101 GB, free: 66.96 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004874/0.9809, allocations: 76 kB / 0.7102 GB, free: 66.89 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.9824, allocations: 361.6 kB / 0.7106 GB, free: 66.65 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005381/0.9829, allocations: 345.7 kB / 0.7109 GB, free: 66.48 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/0.9832, allocations: 135 kB / 0.711 GB, free: 66.36 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002765/0.9859, allocations: 2.068 MB / 0.713 GB, free: 64.63 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9859, allocations: 0 / 0.713 GB, free: 64.63 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007275/0.9932, allocations: 3.257 MB / 0.7162 GB, free: 61.37 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.0005526/0.9937, allocations: 253.9 kB / 0.7165 GB, free: 61.11 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007341/1.001, allocations: 5.073 MB / 0.7214 GB, free: 56.67 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.001, allocations: 5.875 kB / 0.7214 GB, free: 56.67 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003233/1.004, allocations: 2.301 MB / 0.7237 GB, free: 54.68 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/1.008, allocations: 1.339 MB / 0.725 GB, free: 53.6 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/1.035, allocations: 20.23 MB / 0.7447 GB, free: 33.83 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/1.037, allocations: 3.848 MB / 0.7485 GB, free: 29.95 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003786/1.041, allocations: 2.411 MB / 0.7508 GB, free: 27.53 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007348/1.042, allocations: 396.4 kB / 0.7512 GB, free: 27.14 MB / 474.8 MB Notification: Performance of SimCode: time 1.613e-06/1.042, allocations: 0 / 0.7512 GB, free: 27.14 MB / 474.8 MB Notification: Performance of Templates: time 0.2606/1.303, allocations: 81.76 MB / 0.8311 GB, free: 107.8 MB / 474.8 MB " [Timeout remaining time 659] 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.3476964549627155]