Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001267, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9151/0.9151, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2814/0.2814, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.44e-05, allocations: 2.312 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01411/0.01412, allocations: 21.17 MB / 347.1 MB, free: 1.891 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009019/0.02314, allocations: 5.855 MB / 352.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.02545, allocations: 234.8 kB / 353.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.03658, allocations: 10.15 MB / 363.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.0412, allocations: 2.252 MB / 365.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.04373, allocations: 1.888 MB / 367.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.05406, allocations: 15.04 MB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02213/0.0762, allocations: 21.9 MB / 404.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.08878, allocations: 12.1 MB / 416.5 MB, free: 12.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009025/0.09781, allocations: 8.901 MB / 425.4 MB, free: 3.121 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00247/0.1003, allocations: 2.098 MB / 427.5 MB, free: 1.023 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.1029, allocations: 2.355 MB / 429.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002508/0.1054, allocations: 4.484 MB / 434.3 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005654/0.1111, allocations: 5.739 MB / 440.1 MB, free: 4.422 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2812/0.3923, allocations: 14.52 MB / 454.6 MB, free: 67.1 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3923, allocations: 0 / 454.6 MB, free: 67.1 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3923, allocations: 0 / 454.6 MB, free: 67.1 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003816/0.3927, allocations: 0 / 454.6 MB, free: 67.1 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.02606/0.4187, allocations: 18.41 MB / 473 MB, free: 62.49 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.4188, allocations: 11.75 kB / 473 MB, free: 62.49 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0253/0.4441, allocations: 10.32 MB / 483.3 MB, free: 61.29 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007621/0.4517, allocations: 4.357 MB / 487.7 MB, free: 59.16 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003955/0.4521, allocations: 1.055 MB / 488.7 MB, free: 58.38 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001384/0.4535, allocations: 1.373 MB / 490.1 MB, free: 57.02 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.4661, allocations: 11.94 MB / 0.4903 GB, free: 45.53 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002141/0.4663, allocations: 18.86 kB / 0.4903 GB, free: 45.52 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00102/0.4673, allocations: 0.5788 MB / 0.4909 GB, free: 44.95 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003212/0.4676, allocations: 0.6978 MB / 0.4915 GB, free: 44.25 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007745/0.4754, allocations: 5.948 MB / 0.4974 GB, free: 38.29 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05449/0.5299, allocations: 41.63 MB / 0.538 GB, free: 14.11 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005917/0.5358, allocations: 5.623 MB / 0.5435 GB, free: 8.547 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.5374, allocations: 1.274 MB / 0.5447 GB, free: 7.301 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.5482, allocations: 6.362 MB / 0.551 GB, free: 1.156 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.5482, allocations: 92.41 kB / 0.551 GB, free: 1.062 MB / 426.8 MB Notification: Performance of pre-optimization done (n=465): time 5.641e-06/0.5482, allocations: 0 / 0.551 GB, free: 1.062 MB / 426.8 MB Notification: Performance of matching and sorting (n=465): time 0.01288/0.5611, allocations: 6.604 MB / 0.5575 GB, free: 10.49 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.5612, allocations: 124.7 kB / 0.5576 GB, free: 10.35 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.5642, allocations: 3.218 MB / 0.5608 GB, free: 7.773 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002319/0.5644, allocations: 97.7 kB / 0.5608 GB, free: 7.672 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/0.5668, allocations: 5.632 MB / 0.5663 GB, free: 2.199 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008921/0.5677, allocations: 1.642 MB / 0.5679 GB, free: 0.6484 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00139/0.5691, allocations: 1.389 MB / 0.5693 GB, free: 15.41 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 6.303e-05/0.5691, allocations: 305.1 kB / 0.5696 GB, free: 15.11 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.5705, allocations: 1.126 MB / 0.5707 GB, free: 13.98 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002767/0.5733, allocations: 3.898 MB / 0.5745 GB, free: 8.859 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/0.5778, allocations: 5.72 MB / 0.5801 GB, free: 2.27 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.57e-05/0.5778, allocations: 32 kB / 0.5801 GB, free: 2.238 MB / 458.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.005574/0.5834, allocations: 5.021 MB / 0.585 GB, free: 13.9 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.5835, allocations: 52 kB / 0.5851 GB, free: 13.85 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.655e-05/0.5835, allocations: 104 kB / 0.5852 GB, free: 13.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/0.5862, allocations: 1.484 MB / 0.5866 GB, free: 12.29 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/0.5886, allocations: 1.415 MB / 0.588 GB, free: 10.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000335/0.589, allocations: 319.7 kB / 0.5883 GB, free: 10.71 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.5913, allocations: 0.8337 MB / 0.5891 GB, free: 9.875 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003449/0.5917, allocations: 312 kB / 0.5894 GB, free: 9.57 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.002775/0.5944, allocations: 0.6267 MB / 0.59 GB, free: 9.051 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005803/0.595, allocations: 427.6 kB / 0.5904 GB, free: 8.633 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/0.599, allocations: 3.24 MB / 0.5936 GB, free: 5.41 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.599, allocations: 44 kB / 0.5936 GB, free: 5.367 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.599, allocations: 4 kB / 0.5936 GB, free: 5.363 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/0.5991, allocations: 23.91 kB / 0.5937 GB, free: 5.34 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009905/0.609, allocations: 6.644 MB / 0.6002 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.609, allocations: 0 / 0.6002 GB, free: 15.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.6103, allocations: 0.5724 MB / 0.6007 GB, free: 14.96 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/0.6129, allocations: 1.347 MB / 0.602 GB, free: 13.62 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.613, allocations: 91.95 kB / 0.6021 GB, free: 13.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002816/0.6133, allocations: 139.5 kB / 0.6023 GB, free: 13.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6133, allocations: 0 / 0.6023 GB, free: 13.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004741/0.6181, allocations: 3.854 MB / 0.606 GB, free: 9.652 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.6192, allocations: 0.7246 MB / 0.6067 GB, free: 8.93 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/0.6196, allocations: 76 kB / 0.6068 GB, free: 8.855 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.6207, allocations: 152 kB / 0.6069 GB, free: 8.707 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003789/0.621, allocations: 295.2 kB / 0.6072 GB, free: 8.418 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/0.6212, allocations: 87.97 kB / 0.6073 GB, free: 8.332 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001254/0.6225, allocations: 1.442 MB / 0.6087 GB, free: 7.062 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.6225, allocations: 8 kB / 0.6087 GB, free: 7.055 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005464/0.6279, allocations: 3.246 MB / 0.6119 GB, free: 3.797 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.0004572/0.6284, allocations: 241.1 kB / 0.6121 GB, free: 3.594 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.004948/0.6333, allocations: 3.904 MB / 0.6159 GB, free: 68 kB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.131/0.7643, allocations: 75.45 kB / 0.616 GB, free: 152.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004317/0.7686, allocations: 1.781 MB / 0.6177 GB, free: 152.4 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/0.7728, allocations: 1.322 MB / 0.619 GB, free: 152.4 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/0.7992, allocations: 19.91 MB / 0.6385 GB, free: 145.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/0.8019, allocations: 2.718 MB / 0.6411 GB, free: 145 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002567/0.8045, allocations: 0.7671 MB / 0.6419 GB, free: 144.8 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/0.8068, allocations: 1.116 MB / 0.643 GB, free: 144.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.302e-06/0.8068, allocations: 8 kB / 0.643 GB, free: 144.6 MB / 490.8 MB Notification: Performance of Templates: time 0.1079/0.9147, allocations: 88.51 MB / 0.7294 GB, free: 61.94 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 5.3951088059693575]