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.002474/0.002474, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002785/0.002785, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.621/1.621, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3748/0.3748, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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 2.295e-06/2.295e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.012e-05/4.241e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.05846/0.0585, allocations: 21.76 MB / 399 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02533/0.08383, allocations: 5.514 MB / 404.5 MB, free: 7.496 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008676/0.0925, allocations: 234.8 kB / 404.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.04411/0.1366, allocations: 10.12 MB / 414.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01665/0.1533, allocations: 2.244 MB / 417.1 MB, free: 10.84 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009707/0.163, allocations: 1.886 MB / 419 MB, free: 8.965 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.03423/0.1972, allocations: 15.03 MB / 434 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2587/0.4559, allocations: 21.18 MB / 455.2 MB, free: 47.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02191/0.4779, allocations: 12.01 MB / 467.2 MB, free: 47.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01443/0.4923, allocations: 8.72 MB / 475.9 MB, free: 46.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007496/0.4998, allocations: 2.099 MB / 478 MB, free: 46.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/0.5105, allocations: 2.352 MB / 480.4 MB, free: 46.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008475/0.5189, allocations: 4.486 MB / 484.8 MB, free: 44.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01426/0.5332, allocations: 5.75 MB / 490.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03201/0.5652, allocations: 29.28 MB / 0.5077 GB, free: 29.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5652, allocations: 2.594 kB / 0.5077 GB, free: 29.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5652, allocations: 3.719 kB / 0.5077 GB, free: 29.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001016/0.5662, allocations: 0 / 0.5077 GB, free: 29.07 MB / 410.7 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.06017/0.6264, allocations: 21.42 MB / 0.5286 GB, free: 12.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6264, allocations: 8.031 kB / 0.5286 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06214/0.6886, allocations: 13.82 MB / 0.5421 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0253/0.7139, allocations: 8.314 MB / 0.5502 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002072/0.716, allocations: 1.057 MB / 0.5513 GB, free: 5.551 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008111/0.7241, allocations: 1.377 MB / 0.5526 GB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0809/0.805, allocations: 24.27 MB / 0.5763 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008706/0.8058, allocations: 10.33 kB / 0.5763 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006421/0.8123, allocations: 0.5761 MB / 0.5769 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001148/0.8134, allocations: 0.7011 MB / 0.5776 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05598/0.8694, allocations: 19.33 MB / 0.5964 GB, free: 7.141 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4174/1.287, allocations: 86.08 MB / 0.6805 GB, free: 54.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/1.307, allocations: 10.67 MB / 0.6909 GB, free: 51.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008567/1.316, allocations: 3.996 MB / 0.6948 GB, free: 49.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.036/1.352, allocations: 13.29 MB / 0.7078 GB, free: 38.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.381e-05/1.352, allocations: 88.94 kB / 0.7079 GB, free: 38.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=465): time 9.568e-06/1.352, allocations: 0 / 0.7079 GB, free: 38.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=465): time 0.03962/1.392, allocations: 14.22 MB / 0.7218 GB, free: 24.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/1.392, allocations: 124.7 kB / 0.7219 GB, free: 24.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01325/1.405, allocations: 7.034 MB / 0.7288 GB, free: 17.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001169/1.406, allocations: 104.4 kB / 0.7289 GB, free: 17.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004319/1.41, allocations: 6.728 MB / 0.7354 GB, free: 10.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00266/1.413, allocations: 1.8 MB / 0.7372 GB, free: 8.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006057/1.419, allocations: 1.998 MB / 0.7391 GB, free: 6.582 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.338e-05/1.419, allocations: 484.7 kB / 0.7396 GB, free: 6.105 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006317/1.426, allocations: 3.516 MB / 0.743 GB, free: 2.586 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.013/1.439, allocations: 8.449 MB / 0.7513 GB, free: 8.199 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02499/1.464, allocations: 12.62 MB / 0.7636 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001924/1.464, allocations: 32 kB / 0.7636 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03305/1.497, allocations: 12.25 MB / 0.7756 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002382/1.497, allocations: 48 kB / 0.7756 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003043/1.497, allocations: 104 kB / 0.7757 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008361/1.506, allocations: 2.998 MB / 0.7787 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007282/1.513, allocations: 1.592 MB / 0.7802 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/1.514, allocations: 373.7 kB / 0.7806 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007758/1.522, allocations: 1.04 MB / 0.7816 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/1.524, allocations: 392 kB / 0.782 GB, free: 7.984 MB / 0.5105 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.01608/1.54, allocations: 4.969 MB / 0.7868 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003633/1.544, allocations: 0.6413 MB / 0.7875 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02534/1.569, allocations: 8.494 MB / 0.7957 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.426e-05/1.569, allocations: 56 kB / 0.7958 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.569, allocations: 0 / 0.7958 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001177/1.569, allocations: 23.91 kB / 0.7958 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2848/1.854, allocations: 22.02 MB / 0.8173 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/1.854, allocations: 7.219 kB / 0.8173 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/1.857, allocations: 0.7278 MB / 0.818 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005955/1.863, allocations: 2.868 MB / 0.8208 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000925/1.864, allocations: 104.7 kB / 0.8209 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006572/1.865, allocations: 182.3 kB / 0.8211 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.865, allocations: 3.031 kB / 0.8211 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/1.884, allocations: 12.67 MB / 0.8335 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004244/1.888, allocations: 1.172 MB / 0.8346 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/1.89, allocations: 77.84 kB / 0.8347 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/1.893, allocations: 354.4 kB / 0.835 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008189/1.894, allocations: 361 kB / 0.8354 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000365/1.894, allocations: 136.1 kB / 0.8355 GB, free: 164.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006095/1.9, allocations: 3.575 MB / 0.839 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/1.9, allocations: 0 / 0.839 GB, free: 163.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01098/1.911, allocations: 3.252 MB / 0.8422 GB, free: 163 MB / 0.5261 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.001306/1.913, allocations: 251.3 kB / 0.8424 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01847/1.931, allocations: 9.28 MB / 0.8515 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.931, allocations: 1.562 kB / 0.8515 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00898/1.94, allocations: 3.97 MB / 0.8554 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007594/1.948, allocations: 1.346 MB / 0.8567 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04372/1.992, allocations: 22.84 MB / 0.879 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/2.006, allocations: 7.711 MB / 0.8865 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007176/2.013, allocations: 2.41 MB / 0.8889 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/2.015, allocations: 400.4 kB / 0.8893 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.835e-06/2.015, allocations: 0 / 0.8893 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.1506/2.165, allocations: 81.68 MB / 0.969 GB, free: 55.07 MB / 0.5261 GB " [Timeout remaining time 658] 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","/var/lib/jenkins/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: 10.252102605998516]