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.001637/0.001637, allocations: 117 kB / 19.13 MB, free: 3.918 MB / 14.72 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.001794/0.001795, allocations: 210.6 kB / 22.08 MB, free: 0.9727 MB / 14.72 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 1.468/1.468, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] 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.2212/0.2212, allocations: 46.16 MB / 351.8 MB, free: 14.29 MB / 286.1 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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..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.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 80.27 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1155, allocations: 62.45 MB / 0.5403 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02578/0.1414, allocations: 22.75 MB / 0.5626 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01294/0.1543, allocations: 5.525 MB / 0.568 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00462/0.159, allocations: 195.4 kB / 0.5681 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02202/0.1811, allocations: 9.483 MB / 0.5774 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008577/0.1897, allocations: 2.136 MB / 0.5795 GB, free: 12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006043/0.1957, allocations: 1.89 MB / 0.5813 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0188/0.2145, allocations: 14.48 MB / 0.5955 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5776/0.7922, allocations: 34.28 MB / 0.6289 GB, free: 18.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01405/0.8063, allocations: 7.964 MB / 0.6367 GB, free: 18.06 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01441/0.8207, allocations: 8.731 MB / 0.6453 GB, free: 16.65 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007141/0.8279, allocations: 2.098 MB / 0.6473 GB, free: 16.65 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008754/0.8367, allocations: 2.352 MB / 0.6496 GB, free: 16.65 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008657/0.8454, allocations: 4.322 MB / 0.6538 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02005/0.8655, allocations: 8.425 MB / 0.662 GB, free: 6.484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04074/0.9063, allocations: 28.78 MB / 0.6901 GB, free: 13.02 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.9063, allocations: 8 kB / 0.6902 GB, free: 13.02 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9063, allocations: 0 / 0.6902 GB, free: 13.02 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.0009097/0.9073, allocations: 0 / 0.6902 GB, free: 13.02 MB / 0.4982 GB 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.06809/0.9754, allocations: 19.01 MB / 0.7087 GB, free: 10.07 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.9755, allocations: 8.031 kB / 0.7087 GB, free: 10.06 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0632/1.039, allocations: 11.48 MB / 0.7199 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/1.059, allocations: 8.889 MB / 0.7286 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001419/1.061, allocations: 1.054 MB / 0.7297 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006404/1.067, allocations: 1.377 MB / 0.731 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07027/1.138, allocations: 23.63 MB / 0.7541 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000762/1.138, allocations: 23.56 kB / 0.7541 GB, free: 12 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005684/1.144, allocations: 0.5723 MB / 0.7547 GB, free: 11.44 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009877/1.145, allocations: 0.7018 MB / 0.7553 GB, free: 10.74 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05365/1.199, allocations: 21.74 MB / 0.7766 GB, free: 4.988 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4892/1.688, allocations: 72.03 MB / 0.8469 GB, free: 176.7 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0262/1.714, allocations: 28.68 MB / 0.8749 GB, free: 155.5 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008621/1.723, allocations: 4.97 MB / 0.8798 GB, free: 155.4 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02787/1.751, allocations: 16.57 MB / 0.896 GB, free: 153 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/1.751, allocations: 81.98 kB / 0.896 GB, free: 153 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 7.564e-06/1.751, allocations: 2.062 kB / 0.896 GB, free: 153 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03702/1.788, allocations: 15.76 MB / 0.9114 GB, free: 148.8 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/1.788, allocations: 126.2 kB / 0.9115 GB, free: 148.7 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009572/1.798, allocations: 5.114 MB / 0.9165 GB, free: 147.1 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0009175/1.799, allocations: 97.14 kB / 0.9166 GB, free: 147 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.00393/1.803, allocations: 6.104 MB / 0.9226 GB, free: 143.5 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002182/1.805, allocations: 1.663 MB / 0.9242 GB, free: 142.3 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004633/1.81, allocations: 1.554 MB / 0.9257 GB, free: 141.6 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/1.81, allocations: 305.1 kB / 0.926 GB, free: 141.3 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006042/1.816, allocations: 4.149 MB / 0.9301 GB, free: 139.9 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008019/1.824, allocations: 7.276 MB / 0.9372 GB, free: 133.9 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/1.839, allocations: 11.95 MB / 0.9489 GB, free: 124.8 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001757/1.839, allocations: 28.88 kB / 0.9489 GB, free: 124.8 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02677/1.866, allocations: 13.16 MB / 0.9617 GB, free: 113.1 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002203/1.866, allocations: 48 kB / 0.9618 GB, free: 113 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000273/1.866, allocations: 104 kB / 0.9619 GB, free: 112.9 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006206/1.873, allocations: 3.094 MB / 0.9649 GB, free: 109.8 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006054/1.879, allocations: 1.603 MB / 0.9665 GB, free: 108.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009773/1.88, allocations: 339 kB / 0.9668 GB, free: 107.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00771/1.887, allocations: 1.083 MB / 0.9678 GB, free: 106.8 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001846/1.889, allocations: 387.9 kB / 0.9682 GB, free: 106.4 MB / 0.6388 GB 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.01068/1.9, allocations: 5.382 MB / 0.9735 GB, free: 101 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/1.902, allocations: 0.5201 MB / 0.974 GB, free: 100.5 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/1.919, allocations: 9.627 MB / 0.9834 GB, free: 90.83 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.182e-05/1.92, allocations: 52 kB / 0.9834 GB, free: 90.78 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.8e-05/1.92, allocations: 0 / 0.9834 GB, free: 90.78 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.368e-05/1.92, allocations: 23.91 kB / 0.9835 GB, free: 90.75 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04512/1.965, allocations: 20.82 MB / 1.004 GB, free: 69.96 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/1.965, allocations: 0 / 1.004 GB, free: 69.96 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003694/1.969, allocations: 0.7372 MB / 1.005 GB, free: 69.22 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006246/1.975, allocations: 2.981 MB / 1.007 GB, free: 66.23 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/1.976, allocations: 107.9 kB / 1.008 GB, free: 66.12 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007123/1.977, allocations: 146.4 kB / 1.008 GB, free: 65.97 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.977, allocations: 4 kB / 1.008 GB, free: 65.96 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02248/1.999, allocations: 14.26 MB / 1.022 GB, free: 51.67 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003317/2.003, allocations: 1.391 MB / 1.023 GB, free: 50.25 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001646/2.004, allocations: 83.92 kB / 1.023 GB, free: 50.17 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003825/2.008, allocations: 363.6 kB / 1.023 GB, free: 49.82 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/2.009, allocations: 319.4 kB / 1.024 GB, free: 49.5 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006719/2.01, allocations: 132 kB / 1.024 GB, free: 49.38 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.005986/2.016, allocations: 3.427 MB / 1.027 GB, free: 45.95 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.2e-07/2.016, allocations: 3.938 kB / 1.027 GB, free: 45.95 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009994/2.026, allocations: 3.234 MB / 1.03 GB, free: 42.7 MB / 0.6388 GB 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.001338/2.027, allocations: 266.5 kB / 1.031 GB, free: 42.44 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01758/2.045, allocations: 9.936 MB / 1.04 GB, free: 32.5 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/2.045, allocations: 0 / 1.04 GB, free: 32.5 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.009705/2.055, allocations: 4.447 MB / 1.045 GB, free: 28.03 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00894/2.064, allocations: 1.274 MB / 1.046 GB, free: 26.79 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04925/2.113, allocations: 23.85 MB / 1.069 GB, free: 2.93 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01878/2.132, allocations: 8.711 MB / 1.078 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002765/2.134, allocations: 471.3 kB / 1.078 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/2.135, allocations: 3.938 kB / 1.078 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of Templates: time 1.008/3.143, allocations: 383.5 MB / 1.453 GB, free: 177.6 MB / 0.6857 GB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.06694006791804]