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.0009877/0.0009877, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.00112/0.00112, allocations: 167.1 kB / 25.61 MB, free: 8.887 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.9503/0.9503, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.1429/0.1429, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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 1.292e-06/1.292e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.488e-05, allocations: 3.734 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0125/0.01252, allocations: 21.14 MB / 400.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.02384, allocations: 5.514 MB / 405.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004381/0.02822, allocations: 234.8 kB / 406.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.04069, allocations: 9.862 MB / 416 MB, free: 2.504 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009108/0.0498, allocations: 2.244 MB / 418.3 MB, free: 252 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004962/0.05476, allocations: 1.868 MB / 420.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.07004, allocations: 15.02 MB / 435.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03537/0.1054, allocations: 21.19 MB / 456.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02296/0.1284, allocations: 12.04 MB / 468.4 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01402/0.1424, allocations: 8.8 MB / 477.2 MB, free: 5.027 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00654/0.1489, allocations: 2.098 MB / 479.3 MB, free: 2.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008584/0.1575, allocations: 2.355 MB / 481.6 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007651/0.1652, allocations: 4.488 MB / 486.1 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0156/0.1808, allocations: 5.735 MB / 491.9 MB, free: 6.328 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3174/0.4982, allocations: 14.52 MB / 0.4945 GB, free: 66.73 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4982, allocations: 3.156 kB / 0.4945 GB, free: 66.73 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4982, allocations: 3.234 kB / 0.4945 GB, free: 66.73 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0008372/0.499, allocations: 2.094 kB / 0.4945 GB, free: 66.73 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.04161/0.5407, allocations: 19.43 MB / 0.5135 GB, free: 61.95 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5407, allocations: 7.875 kB / 0.5135 GB, free: 61.95 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05122/0.5919, allocations: 9.661 MB / 0.5229 GB, free: 60.14 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01457/0.6065, allocations: 7.488 MB / 0.5302 GB, free: 55.06 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/0.6078, allocations: 1.054 MB / 0.5313 GB, free: 54.58 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005331/0.6131, allocations: 1.38 MB / 0.5326 GB, free: 53.7 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/0.6432, allocations: 11.68 MB / 0.544 GB, free: 42.46 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003964/0.6436, allocations: 23.38 kB / 0.5441 GB, free: 42.44 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003032/0.6466, allocations: 0.5711 MB / 0.5446 GB, free: 41.88 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004207/0.647, allocations: 0.6978 MB / 0.5453 GB, free: 41.18 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.6641, allocations: 5.269 MB / 0.5504 GB, free: 35.9 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09308/0.7572, allocations: 54.6 MB / 0.6038 GB, free: 14.98 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008616/0.7658, allocations: 7.532 MB / 0.6111 GB, free: 8.938 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002314/0.7681, allocations: 1.53 MB / 0.6126 GB, free: 7.434 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01293/0.781, allocations: 8.317 MB / 0.6207 GB, free: 15.42 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.52e-05/0.7811, allocations: 89.7 kB / 0.6208 GB, free: 15.32 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 6.692e-06/0.7811, allocations: 0 / 0.6208 GB, free: 15.32 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.01625/0.7974, allocations: 7.631 MB / 0.6283 GB, free: 7.703 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/0.7974, allocations: 136.3 kB / 0.6284 GB, free: 7.555 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005374/0.8028, allocations: 4.707 MB / 0.633 GB, free: 3.477 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006691/0.8035, allocations: 109.8 kB / 0.6331 GB, free: 3.363 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004071/0.8075, allocations: 6.48 MB / 0.6394 GB, free: 13.04 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002159/0.8097, allocations: 1.752 MB / 0.6411 GB, free: 11.38 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002051/0.8117, allocations: 1.787 MB / 0.6429 GB, free: 9.738 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.8118, allocations: 484.5 kB / 0.6433 GB, free: 9.266 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.8133, allocations: 0.9005 MB / 0.6442 GB, free: 8.363 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003723/0.817, allocations: 5.667 MB / 0.6498 GB, free: 0.9453 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007207/0.8242, allocations: 7.294 MB / 0.6569 GB, free: 8.262 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001414/0.8244, allocations: 32 kB / 0.6569 GB, free: 8.23 MB / 490.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01/0.8344, allocations: 6.197 MB / 0.663 GB, free: 2.715 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.8344, allocations: 48.98 kB / 0.663 GB, free: 2.668 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.8346, allocations: 104 kB / 0.6631 GB, free: 2.566 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00286/0.8374, allocations: 1.599 MB / 0.6647 GB, free: 0.9727 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2298/1.067, allocations: 1.441 MB / 0.6661 GB, free: 129.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007674/1.068, allocations: 352 kB / 0.6664 GB, free: 129.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/1.072, allocations: 0.8271 MB / 0.6672 GB, free: 129.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008836/1.073, allocations: 328 kB / 0.6675 GB, free: 129.1 MB / 490.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.003903/1.077, allocations: 0.661 MB / 0.6682 GB, free: 129 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.078, allocations: 0.6424 MB / 0.6688 GB, free: 129 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006029/1.084, allocations: 3.99 MB / 0.6727 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/1.084, allocations: 44.5 kB / 0.6727 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.084, allocations: 0.8125 kB / 0.6727 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/1.084, allocations: 23.52 kB / 0.6728 GB, free: 128.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/1.102, allocations: 10.35 MB / 0.6829 GB, free: 128.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/1.102, allocations: 3.375 kB / 0.6829 GB, free: 128.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/1.104, allocations: 0.5834 MB / 0.6835 GB, free: 128.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/1.106, allocations: 1.465 MB / 0.6849 GB, free: 128.1 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002864/1.107, allocations: 106.9 kB / 0.685 GB, free: 128.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003331/1.107, allocations: 168.6 kB / 0.6851 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.107, allocations: 3.844 kB / 0.6852 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/1.114, allocations: 4.814 MB / 0.6899 GB, free: 127.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/1.116, allocations: 1.043 MB / 0.6909 GB, free: 127.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006139/1.116, allocations: 83.12 kB / 0.691 GB, free: 127.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.118, allocations: 144.1 kB / 0.6911 GB, free: 127.2 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004052/1.118, allocations: 316 kB / 0.6914 GB, free: 127.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.118, allocations: 103.1 kB / 0.6915 GB, free: 127.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002159/1.12, allocations: 1.92 MB / 0.6934 GB, free: 127 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.9e-07/1.12, allocations: 0 / 0.6934 GB, free: 127 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.007009/1.127, allocations: 3.249 MB / 0.6965 GB, free: 126.1 MB / 490.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.0006012/1.128, allocations: 257.4 kB / 0.6968 GB, free: 126 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.006706/1.135, allocations: 4.538 MB / 0.7012 GB, free: 125.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.135, allocations: 0 / 0.7012 GB, free: 125.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002753/1.137, allocations: 2.046 MB / 0.7032 GB, free: 123.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003972/1.141, allocations: 1.347 MB / 0.7045 GB, free: 122.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/1.17, allocations: 20.03 MB / 0.7241 GB, free: 106.4 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/1.174, allocations: 3.852 MB / 0.7278 GB, free: 103.6 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002433/1.177, allocations: 0.7719 MB / 0.7286 GB, free: 103 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/1.179, allocations: 1.259 MB / 0.7298 GB, free: 101.9 MB / 490.8 MB Notification: Performance of SimCode: time 1.352e-06/1.179, allocations: 4 kB / 0.7298 GB, free: 101.9 MB / 490.8 MB Notification: Performance of Templates: time 0.1095/1.288, allocations: 90.19 MB / 0.8179 GB, free: 13.24 MB / 490.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.434552796650678]