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.00165/0.00165, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001751/0.001751, allocations: 160.9 kB / 24.27 MB, free: 172 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.494/1.494, allocations: 177 MB / 204.4 MB, free: 5.602 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.3844/0.3844, allocations: 34.24 MB / 295.2 MB, free: 0.6602 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 1.603e-06/1.603e-06, allocations: 3.938 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.546e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02842/0.02844, allocations: 19.54 MB / 396.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.04249, allocations: 5.471 MB / 402.2 MB, free: 9.766 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004465/0.04696, allocations: 238.8 kB / 402.5 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02422/0.07117, allocations: 9.352 MB / 411.8 MB, free: 140 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009935/0.08111, allocations: 2.24 MB / 414.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006558/0.08767, allocations: 1.871 MB / 415.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.023/0.1107, allocations: 15.02 MB / 430.9 MB, free: 12.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3873/0.498, allocations: 21.16 MB / 452.1 MB, free: 48.23 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02235/0.5204, allocations: 11.91 MB / 464 MB, free: 48.23 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/0.5335, allocations: 7.867 MB / 471.9 MB, free: 48.23 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005694/0.5392, allocations: 2.099 MB / 474 MB, free: 48.23 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008579/0.5478, allocations: 2.351 MB / 476.3 MB, free: 48.23 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007668/0.5554, allocations: 4.416 MB / 480.8 MB, free: 46.04 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01955/0.575, allocations: 5.675 MB / 486.4 MB, free: 43.92 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04235/0.6173, allocations: 29.12 MB / 0.5035 GB, free: 31.74 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.6173, allocations: 0 / 0.5035 GB, free: 31.74 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6173, allocations: 0 / 0.5035 GB, free: 31.74 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.001156/0.6185, allocations: 0.7188 kB / 0.5035 GB, free: 31.74 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.06476/0.6833, allocations: 18.8 MB / 0.5218 GB, free: 18.28 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.6833, allocations: 8.031 kB / 0.5218 GB, free: 18.27 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06368/0.747, allocations: 13.8 MB / 0.5353 GB, free: 4.594 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02482/0.7718, allocations: 9.4 MB / 0.5445 GB, free: 11.52 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001923/0.7737, allocations: 1.06 MB / 0.5455 GB, free: 10.46 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009189/0.7829, allocations: 1.379 MB / 0.5469 GB, free: 9.098 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08268/0.8656, allocations: 23.94 MB / 0.5702 GB, free: 1.02 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009699/0.8666, allocations: 15.95 kB / 0.5703 GB, free: 1.004 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008428/0.875, allocations: 0.5672 MB / 0.5708 GB, free: 456 kB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001844/0.8768, allocations: 0.7095 MB / 0.5715 GB, free: 15.73 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07753/0.9544, allocations: 21.66 MB / 0.5927 GB, free: 10.07 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4503/1.405, allocations: 62.75 MB / 0.6539 GB, free: 110.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.426, allocations: 11.37 MB / 0.665 GB, free: 107.4 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008407/1.435, allocations: 4.502 MB / 0.6694 GB, free: 105.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03481/1.47, allocations: 14.36 MB / 0.6835 GB, free: 100.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.577e-05/1.47, allocations: 89.58 kB / 0.6835 GB, free: 100.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=465): time 1.083e-05/1.47, allocations: 0 / 0.6835 GB, free: 100.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=465): time 0.04473/1.514, allocations: 15.6 MB / 0.6988 GB, free: 94.9 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.895e-05/1.515, allocations: 128.4 kB / 0.6989 GB, free: 94.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/1.527, allocations: 4.986 MB / 0.7038 GB, free: 92.11 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001325/1.528, allocations: 101 kB / 0.7039 GB, free: 92.02 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007115/1.536, allocations: 6.08 MB / 0.7098 GB, free: 86.74 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003734/1.539, allocations: 1.64 MB / 0.7114 GB, free: 85.33 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008547/1.548, allocations: 1.547 MB / 0.7129 GB, free: 84.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.121e-05/1.548, allocations: 305.1 kB / 0.7132 GB, free: 84.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01217/1.56, allocations: 4.143 MB / 0.7172 GB, free: 81.98 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/1.574, allocations: 7.273 MB / 0.7244 GB, free: 75.68 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02424/1.599, allocations: 11.96 MB / 0.736 GB, free: 63.14 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003177/1.599, allocations: 28 kB / 0.7361 GB, free: 63.11 MB / 490.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03969/1.639, allocations: 13.43 MB / 0.7492 GB, free: 49.66 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002227/1.639, allocations: 52 kB / 0.7492 GB, free: 49.61 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002865/1.639, allocations: 104 kB / 0.7493 GB, free: 49.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008665/1.648, allocations: 3.103 MB / 0.7524 GB, free: 46.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008571/1.656, allocations: 1.603 MB / 0.7539 GB, free: 44.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/1.658, allocations: 331.2 kB / 0.7542 GB, free: 44.45 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009863/1.668, allocations: 1.052 MB / 0.7553 GB, free: 43.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002223/1.67, allocations: 388 kB / 0.7556 GB, free: 43.02 MB / 490.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.01352/1.683, allocations: 5.394 MB / 0.7609 GB, free: 37.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002475/1.686, allocations: 0.6374 MB / 0.7615 GB, free: 36.96 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/1.703, allocations: 9.532 MB / 0.7708 GB, free: 27.4 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-05/1.703, allocations: 48 kB / 0.7709 GB, free: 27.35 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/1.703, allocations: 0 / 0.7709 GB, free: 27.35 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-05/1.703, allocations: 23.91 kB / 0.7709 GB, free: 27.33 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0407/1.744, allocations: 17.99 MB / 0.7885 GB, free: 9.387 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/1.744, allocations: 0 / 0.7885 GB, free: 9.387 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003271/1.747, allocations: 0.7372 MB / 0.7892 GB, free: 8.648 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005879/1.753, allocations: 2.966 MB / 0.7921 GB, free: 5.672 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007678/1.754, allocations: 104 kB / 0.7922 GB, free: 5.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006317/1.754, allocations: 150.4 kB / 0.7923 GB, free: 5.414 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.754, allocations: 4 kB / 0.7923 GB, free: 5.41 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02738/1.782, allocations: 14.32 MB / 0.8063 GB, free: 7.055 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004901/1.787, allocations: 1.354 MB / 0.8076 GB, free: 5.699 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002139/1.789, allocations: 76 kB / 0.8077 GB, free: 5.625 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004256/1.793, allocations: 363.6 kB / 0.808 GB, free: 5.27 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001353/1.794, allocations: 335.2 kB / 0.8084 GB, free: 4.941 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008476/1.795, allocations: 140 kB / 0.8085 GB, free: 4.805 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009406/1.805, allocations: 3.211 MB / 0.8116 GB, free: 1.594 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.5e-07/1.805, allocations: 0 / 0.8116 GB, free: 1.594 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.2704/2.075, allocations: 3.248 MB / 0.8148 GB, free: 146.9 MB / 0.4949 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.001795/2.077, allocations: 252.7 kB / 0.8151 GB, free: 146.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.018/2.095, allocations: 9.513 MB / 0.8243 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/2.095, allocations: 0 / 0.8243 GB, free: 145.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.009219/2.104, allocations: 4.119 MB / 0.8284 GB, free: 144.3 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008139/2.112, allocations: 1.347 MB / 0.8297 GB, free: 144 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05665/2.169, allocations: 24.81 MB / 0.8539 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02104/2.19, allocations: 8.638 MB / 0.8623 GB, free: 130.5 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01006/2.2, allocations: 2.845 MB / 0.8651 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00323/2.203, allocations: 395.8 kB / 0.8655 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of SimCode: time 3.176e-06/2.203, allocations: 0 / 0.8655 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.1254/2.329, allocations: 82.33 MB / 0.9459 GB, free: 61.38 MB / 0.4949 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=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/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.240295369992964]