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.001362/0.001362, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001125/0.001125, allocations: 165 kB / 24.56 MB, free: 8 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.016/1.016, allocations: 177.1 MB / 205 MB, free: 5.648 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.2806/0.2806, allocations: 34.26 MB / 295.7 MB, free: 0.7695 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 1.543e-06/1.543e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.841e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01708/0.01711, allocations: 21.94 MB / 400 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.015/0.03211, allocations: 5.517 MB / 405.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005229/0.03734, allocations: 234.8 kB / 405.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01126/0.0486, allocations: 10.16 MB / 415.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007808/0.05641, allocations: 2.248 MB / 418.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.06049, allocations: 1.893 MB / 420 MB, free: 8.527 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.07431, allocations: 15.02 MB / 435 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3365/0.4108, allocations: 21.18 MB / 456.2 MB, free: 47.7 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02142/0.4322, allocations: 12.03 MB / 468.2 MB, free: 47.7 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01315/0.4454, allocations: 8.779 MB / 477 MB, free: 46.73 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009278/0.4546, allocations: 2.096 MB / 479.1 MB, free: 46.73 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01071/0.4654, allocations: 2.351 MB / 481.5 MB, free: 46.68 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008184/0.4735, allocations: 4.489 MB / 486 MB, free: 44.47 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01612/0.4897, allocations: 5.745 MB / 491.7 MB, free: 42.08 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02185/0.5115, allocations: 14.52 MB / 0.4944 GB, free: 36.03 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5115, allocations: 0 / 0.4944 GB, free: 36.03 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5115, allocations: 0 / 0.4944 GB, free: 36.03 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0007824/0.5123, allocations: 2.844 kB / 0.4944 GB, free: 36.03 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.04197/0.5543, allocations: 20.24 MB / 0.5141 GB, free: 25.75 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5543, allocations: 12.03 kB / 0.5141 GB, free: 25.74 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0381/0.5924, allocations: 13.82 MB / 0.5276 GB, free: 14.2 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01452/0.6069, allocations: 8.145 MB / 0.5356 GB, free: 6.379 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007479/0.6077, allocations: 1.049 MB / 0.5366 GB, free: 5.336 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004904/0.6126, allocations: 1.387 MB / 0.538 GB, free: 3.961 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04306/0.6556, allocations: 12.74 MB / 0.5504 GB, free: 7.062 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005412/0.6562, allocations: 19.59 kB / 0.5504 GB, free: 7.047 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00514/0.6613, allocations: 0.5721 MB / 0.551 GB, free: 6.484 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005552/0.6619, allocations: 0.7017 MB / 0.5517 GB, free: 5.781 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02782/0.6897, allocations: 6.763 MB / 0.5583 GB, free: 15.01 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.308/0.9977, allocations: 55.88 MB / 0.6128 GB, free: 77.6 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/1.01, allocations: 8.522 MB / 0.6212 GB, free: 77.14 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003751/1.013, allocations: 1.814 MB / 0.6229 GB, free: 77.05 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01587/1.029, allocations: 9.055 MB / 0.6318 GB, free: 76.46 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.06e-05/1.029, allocations: 84.22 kB / 0.6319 GB, free: 76.41 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 7.644e-06/1.029, allocations: 2.906 kB / 0.6319 GB, free: 76.41 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.01965/1.049, allocations: 8.58 MB / 0.6402 GB, free: 75.88 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/1.049, allocations: 124.8 kB / 0.6404 GB, free: 75.78 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007308/1.056, allocations: 4.809 MB / 0.6451 GB, free: 75.21 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00123/1.057, allocations: 98.23 kB / 0.6452 GB, free: 75.18 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003734/1.061, allocations: 6.457 MB / 0.6515 GB, free: 71.62 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00218/1.063, allocations: 1.737 MB / 0.6532 GB, free: 70.57 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/1.065, allocations: 1.77 MB / 0.6549 GB, free: 70.42 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 6.83e-05/1.066, allocations: 476.8 kB / 0.6553 GB, free: 69.95 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002043/1.068, allocations: 1.184 MB / 0.6565 GB, free: 69.94 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003386/1.071, allocations: 5.901 MB / 0.6623 GB, free: 64.3 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006103/1.077, allocations: 7.732 MB / 0.6698 GB, free: 58.53 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.833e-05/1.077, allocations: 28.59 kB / 0.6698 GB, free: 58.53 MB / 474.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.01048/1.088, allocations: 6.852 MB / 0.6765 GB, free: 58 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/1.088, allocations: 50.53 kB / 0.6766 GB, free: 58 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/1.088, allocations: 103.5 kB / 0.6767 GB, free: 58 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/1.091, allocations: 1.655 MB / 0.6783 GB, free: 57.87 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003102/1.094, allocations: 1.595 MB / 0.6798 GB, free: 57.87 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004479/1.094, allocations: 369.5 kB / 0.6802 GB, free: 57.82 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/1.098, allocations: 1.047 MB / 0.6812 GB, free: 57.37 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005648/1.099, allocations: 388.7 kB / 0.6816 GB, free: 57.37 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.003763/1.102, allocations: 0.6622 MB / 0.6822 GB, free: 57.14 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.103, allocations: 0.6389 MB / 0.6829 GB, free: 56.86 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005925/1.109, allocations: 4.505 MB / 0.6873 GB, free: 56.52 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/1.109, allocations: 46.59 kB / 0.6873 GB, free: 56.52 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.109, allocations: 0.8125 kB / 0.6873 GB, free: 56.52 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/1.109, allocations: 25.42 kB / 0.6873 GB, free: 56.52 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/1.134, allocations: 14.22 MB / 0.7012 GB, free: 52.77 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.134, allocations: 0 / 0.7012 GB, free: 52.77 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.135, allocations: 0.7286 MB / 0.7019 GB, free: 52.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/1.138, allocations: 1.525 MB / 0.7034 GB, free: 52.1 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/1.138, allocations: 99.59 kB / 0.7035 GB, free: 52.01 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003276/1.138, allocations: 184.7 kB / 0.7037 GB, free: 51.85 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.138, allocations: 0 / 0.7037 GB, free: 51.85 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007794/1.146, allocations: 5.544 MB / 0.7091 GB, free: 46.79 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/1.149, allocations: 1.168 MB / 0.7102 GB, free: 45.75 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000598/1.149, allocations: 80 kB / 0.7103 GB, free: 45.68 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.151, allocations: 355.3 kB / 0.7107 GB, free: 45.45 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004934/1.151, allocations: 360 kB / 0.711 GB, free: 45.27 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.151, allocations: 134.8 kB / 0.7111 GB, free: 45.14 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002614/1.154, allocations: 2.062 MB / 0.7131 GB, free: 43.42 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.21e-07/1.154, allocations: 0 / 0.7131 GB, free: 43.42 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.00673/1.161, allocations: 3.257 MB / 0.7163 GB, free: 40.16 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.0006465/1.161, allocations: 256.6 kB / 0.7166 GB, free: 39.94 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007844/1.169, allocations: 5.073 MB / 0.7215 GB, free: 35.8 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.169, allocations: 2.844 kB / 0.7215 GB, free: 35.8 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003041/1.172, allocations: 2.299 MB / 0.7238 GB, free: 33.88 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/1.176, allocations: 1.355 MB / 0.7251 GB, free: 32.78 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/1.205, allocations: 20.22 MB / 0.7448 GB, free: 12.98 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/1.209, allocations: 3.847 MB / 0.7486 GB, free: 9.109 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003949/1.213, allocations: 2.411 MB / 0.7509 GB, free: 6.691 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/1.214, allocations: 396.4 kB / 0.7513 GB, free: 6.305 MB / 474.8 MB Notification: Performance of SimCode: time 2.074e-06/1.214, allocations: 3.375 kB / 0.7513 GB, free: 6.305 MB / 474.8 MB Notification: Performance of Templates: time 0.2764/1.49, allocations: 86.28 MB / 0.8356 GB, free: 117.4 MB / 0.4949 GB " [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.720156159251928]