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.001486/0.001486, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001648/0.001648, allocations: 217 kB / 24.5 MB, free: 4.133 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.374/1.374, allocations: 230.5 MB / 258.1 MB, free: 8.023 MB / 206.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.2159/0.2159, allocations: 46.93 MB / 361.5 MB, free: 4.215 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.002316/0.002316, allocations: 79.88 kB / 0.4974 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2872, allocations: 66.08 MB / 0.562 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02545/0.3127, allocations: 22.86 MB / 0.5843 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.3245, allocations: 5.555 MB / 0.5897 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003893/0.3284, allocations: 230.8 kB / 0.5899 GB, free: 7.492 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02178/0.3502, allocations: 9.59 MB / 0.5993 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008266/0.3584, allocations: 2.206 MB / 0.6015 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005579/0.364, allocations: 1.939 MB / 0.6033 GB, free: 9.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01833/0.3823, allocations: 14.55 MB / 0.6176 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04066/0.423, allocations: 21.29 MB / 0.6383 GB, free: 5.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/0.4356, allocations: 8.156 MB / 0.6463 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01495/0.4506, allocations: 8.803 MB / 0.6549 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005778/0.4564, allocations: 2.102 MB / 0.657 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007616/0.464, allocations: 2.347 MB / 0.6592 GB, free: 176 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007197/0.4712, allocations: 4.329 MB / 0.6635 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01486/0.486, allocations: 8.436 MB / 0.6717 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.03596/0.522, allocations: 28.78 MB / 0.6998 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.522, allocations: 3.984 kB / 0.6998 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.522, allocations: 0 / 0.6998 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0007976/0.5228, allocations: 0 / 0.6998 GB, free: 6.492 MB / 0.5294 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.06011/0.5829, allocations: 18.93 MB / 0.7183 GB, free: 3.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.583, allocations: 11.97 kB / 0.7183 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06061/0.6436, allocations: 11.49 MB / 0.7295 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5053/1.149, allocations: 9.039 MB / 0.7384 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/1.15, allocations: 1.062 MB / 0.7394 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005596/1.156, allocations: 1.371 MB / 0.7407 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.043/1.199, allocations: 23.63 MB / 0.7638 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003085/1.199, allocations: 20.64 kB / 0.7638 GB, free: 120.7 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/1.2, allocations: 0.5693 MB / 0.7644 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004108/1.201, allocations: 0.698 MB / 0.7651 GB, free: 120.1 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03174/1.232, allocations: 21.75 MB / 0.7863 GB, free: 99.23 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1064/1.339, allocations: 69.74 MB / 0.8544 GB, free: 29.21 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/1.355, allocations: 11.41 MB / 0.8656 GB, free: 19.21 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006865/1.362, allocations: 4.508 MB / 0.87 GB, free: 14.68 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0291/1.391, allocations: 15.28 MB / 0.8849 GB, free: 15.54 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/1.391, allocations: 82.11 kB / 0.885 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 9.658e-06/1.391, allocations: 4 kB / 0.885 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.04112/1.432, allocations: 15.44 MB / 0.9001 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.432, allocations: 124.7 kB / 0.9002 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.443, allocations: 5.111 MB / 0.9052 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.444, allocations: 101.7 kB / 0.9053 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005256/1.45, allocations: 6.1 MB / 0.9112 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002639/1.452, allocations: 1.658 MB / 0.9128 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004724/1.457, allocations: 1.555 MB / 0.9144 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00018/1.457, allocations: 305.2 kB / 0.9146 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007497/1.465, allocations: 4.148 MB / 0.9187 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009976/1.475, allocations: 7.277 MB / 0.9258 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/1.492, allocations: 11.95 MB / 0.9375 GB, free: 7.258 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/1.493, allocations: 35.94 kB / 0.9375 GB, free: 7.223 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02682/1.519, allocations: 13.08 MB / 0.9503 GB, free: 10.12 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.519, allocations: 56.02 kB / 0.9503 GB, free: 10.06 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002024/1.52, allocations: 104 kB / 0.9504 GB, free: 9.961 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007112/1.527, allocations: 3.094 MB / 0.9535 GB, free: 6.859 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006328/1.533, allocations: 1.599 MB / 0.955 GB, free: 5.258 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009497/1.534, allocations: 338.9 kB / 0.9553 GB, free: 4.914 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006394/1.54, allocations: 1.079 MB / 0.9564 GB, free: 3.828 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/1.542, allocations: 384 kB / 0.9568 GB, free: 3.453 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.01128/1.553, allocations: 5.387 MB / 0.962 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/1.555, allocations: 0.5278 MB / 0.9625 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01936/1.574, allocations: 9.545 MB / 0.9719 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.743e-05/1.575, allocations: 47.94 kB / 0.9719 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/1.575, allocations: 4 kB / 0.9719 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-05/1.575, allocations: 23.91 kB / 0.9719 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3766/1.951, allocations: 20.87 MB / 0.9923 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/1.951, allocations: 4.406 kB / 0.9923 GB, free: 218.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/1.955, allocations: 0.7412 MB / 0.993 GB, free: 218 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005491/1.96, allocations: 2.957 MB / 0.9959 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008201/1.961, allocations: 106.4 kB / 0.996 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005957/1.962, allocations: 153.5 kB / 0.9962 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.962, allocations: 3.938 kB / 0.9962 GB, free: 217.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01697/1.979, allocations: 14.19 MB / 1.01 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00352/1.982, allocations: 1.377 MB / 1.011 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001091/1.983, allocations: 79.22 kB / 1.011 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002786/1.986, allocations: 360.6 kB / 1.012 GB, free: 213.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005674/1.987, allocations: 334.1 kB / 1.012 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/1.987, allocations: 137 kB / 1.012 GB, free: 213.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004575/1.992, allocations: 3.422 MB / 1.016 GB, free: 211.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 8.1e-08/1.992, allocations: 3.531 kB / 1.016 GB, free: 211.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009241/2.001, allocations: 3.236 MB / 1.019 GB, free: 211.4 MB / 0.67 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.001017/2.002, allocations: 255.6 kB / 1.019 GB, free: 211.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01407/2.016, allocations: 9.509 MB / 1.028 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/2.016, allocations: 0 / 1.028 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006975/2.023, allocations: 4.11 MB / 1.032 GB, free: 206.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/2.028, allocations: 1.277 MB / 1.034 GB, free: 206.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0368/2.065, allocations: 24.1 MB / 1.057 GB, free: 186.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009101/2.074, allocations: 8.725 MB / 1.066 GB, free: 178.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/2.076, allocations: 467.3 kB / 1.066 GB, free: 177.9 MB / 0.67 GB Notification: Performance of SimCode: time 1.031e-06/2.076, allocations: 0 / 1.066 GB, free: 177.9 MB / 0.67 GB Notification: Performance of Templates: time 0.5828/2.659, allocations: 385.9 MB / 1.443 GB, free: 59.87 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 19.700848186854273]