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.001615/0.001615, allocations: 88.73 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.002068/0.002068, allocations: 160.2 kB / 24.91 MB, free: 8.77 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 1.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.074 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.3015/0.3015, allocations: 34.86 MB / 296.6 MB, free: 480 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.313e-06/1.313e-06, allocations: 0 / 326 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.556e-05, allocations: 2.312 kB / 326 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0166/0.01663, allocations: 21.21 MB / 347.2 MB, free: 1.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0128/0.02943, allocations: 5.851 MB / 353 MB, free: 11.97 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005529/0.03496, allocations: 230.8 kB / 353.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01293/0.04789, allocations: 10.07 MB / 363.3 MB, free: 1.629 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008444/0.05633, allocations: 2.236 MB / 365.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004453/0.06078, allocations: 1.89 MB / 367.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01574/0.07652, allocations: 15.04 MB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03425/0.1108, allocations: 21.85 MB / 404.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0239/0.1347, allocations: 12.09 MB / 416.4 MB, free: 12.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01419/0.1489, allocations: 8.909 MB / 425.3 MB, free: 3.219 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006546/0.1554, allocations: 2.098 MB / 427.4 MB, free: 1.121 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008504/0.1639, allocations: 2.363 MB / 429.8 MB, free: 14.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007978/0.1719, allocations: 4.488 MB / 434.3 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0116/0.1835, allocations: 5.743 MB / 440 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3188/0.5023, allocations: 14.51 MB / 454.5 MB, free: 67.26 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.5023, allocations: 0 / 454.5 MB, free: 67.26 MB / 410.8 MB Notification: Performance of FrontEnd: time 7.51e-07/0.5023, allocations: 0 / 454.5 MB, free: 67.26 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0003938/0.5027, allocations: 3.156 kB / 454.5 MB, free: 67.26 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.02688/0.5296, allocations: 18.39 MB / 472.9 MB, free: 62.66 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5296, allocations: 7.625 kB / 472.9 MB, free: 62.66 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02898/0.5586, allocations: 10.33 MB / 483.3 MB, free: 61.43 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008573/0.5672, allocations: 4.356 MB / 487.6 MB, free: 59.29 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004283/0.5676, allocations: 1.055 MB / 488.7 MB, free: 58.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/0.5693, allocations: 1.379 MB / 490.1 MB, free: 56.96 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01548/0.5848, allocations: 11.93 MB / 0.4902 GB, free: 45.48 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/0.585, allocations: 20.95 kB / 0.4903 GB, free: 45.47 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009794/0.586, allocations: 0.575 MB / 0.4908 GB, free: 44.9 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003495/0.5864, allocations: 0.6978 MB / 0.4915 GB, free: 44.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008207/0.5946, allocations: 5.952 MB / 0.4973 GB, free: 38.24 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0489/0.6435, allocations: 41.61 MB / 0.5379 GB, free: 14.06 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008074/0.6516, allocations: 5.637 MB / 0.5435 GB, free: 8.488 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.6536, allocations: 1.273 MB / 0.5447 GB, free: 7.246 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01512/0.6687, allocations: 6.365 MB / 0.5509 GB, free: 1.102 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.458e-05/0.6688, allocations: 86.11 kB / 0.551 GB, free: 1.008 MB / 426.8 MB Notification: Performance of pre-optimization done (n=465): time 7.363e-06/0.6688, allocations: 0 / 0.551 GB, free: 1.008 MB / 426.8 MB Notification: Performance of matching and sorting (n=465): time 0.01766/0.6864, allocations: 6.597 MB / 0.5574 GB, free: 10.44 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.6865, allocations: 132.1 kB / 0.5576 GB, free: 10.3 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.6903, allocations: 3.218 MB / 0.5607 GB, free: 7.719 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.6905, allocations: 97.7 kB / 0.5608 GB, free: 7.617 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002375/0.6929, allocations: 5.633 MB / 0.5663 GB, free: 2.145 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008933/0.6937, allocations: 1.639 MB / 0.5679 GB, free: 0.5977 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/0.6952, allocations: 1.392 MB / 0.5693 GB, free: 15.36 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 7.476e-05/0.6953, allocations: 305.1 kB / 0.5695 GB, free: 15.05 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.6968, allocations: 1.122 MB / 0.5706 GB, free: 13.93 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003004/0.6998, allocations: 3.91 MB / 0.5745 GB, free: 8.805 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005511/0.7053, allocations: 5.71 MB / 0.58 GB, free: 2.223 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.536e-05/0.7054, allocations: 32 kB / 0.5801 GB, free: 2.191 MB / 458.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.006632/0.712, allocations: 5.029 MB / 0.585 GB, free: 13.85 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.712, allocations: 52 kB / 0.585 GB, free: 13.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.691e-05/0.7121, allocations: 104 kB / 0.5851 GB, free: 13.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.7149, allocations: 1.48 MB / 0.5866 GB, free: 12.23 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/0.7176, allocations: 1.497 MB / 0.588 GB, free: 10.85 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003429/0.718, allocations: 323.7 kB / 0.5883 GB, free: 10.57 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.7207, allocations: 0.8298 MB / 0.5892 GB, free: 9.738 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/0.7211, allocations: 311.9 kB / 0.5895 GB, free: 9.434 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.00312/0.7242, allocations: 0.6266 MB / 0.5901 GB, free: 8.914 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006311/0.7248, allocations: 427.6 kB / 0.5905 GB, free: 8.496 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/0.7294, allocations: 3.244 MB / 0.5936 GB, free: 5.27 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.7294, allocations: 44 kB / 0.5937 GB, free: 5.227 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.7295, allocations: 0 / 0.5937 GB, free: 5.227 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/0.7295, allocations: 27.91 kB / 0.5937 GB, free: 5.199 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.7402, allocations: 6.647 MB / 0.6002 GB, free: 15.36 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.7402, allocations: 0 / 0.6002 GB, free: 15.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.7417, allocations: 0.6069 MB / 0.6008 GB, free: 14.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00255/0.7443, allocations: 1.359 MB / 0.6021 GB, free: 13.44 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/0.7445, allocations: 91.97 kB / 0.6022 GB, free: 13.35 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002837/0.7448, allocations: 143.3 kB / 0.6023 GB, free: 13.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7448, allocations: 4 kB / 0.6023 GB, free: 13.21 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00535/0.7502, allocations: 3.838 MB / 0.6061 GB, free: 9.469 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.7516, allocations: 0.7194 MB / 0.6068 GB, free: 8.75 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/0.752, allocations: 83.98 kB / 0.6069 GB, free: 8.668 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.7531, allocations: 144 kB / 0.607 GB, free: 8.527 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/0.7536, allocations: 299.2 kB / 0.6073 GB, free: 8.234 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/0.7538, allocations: 91.97 kB / 0.6074 GB, free: 8.145 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001888/0.7557, allocations: 1.445 MB / 0.6088 GB, free: 6.879 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7557, allocations: 0 / 0.6088 GB, free: 6.879 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006112/0.7618, allocations: 3.253 MB / 0.612 GB, free: 3.613 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.0005274/0.7623, allocations: 242 kB / 0.6122 GB, free: 3.41 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.1556/0.9179, allocations: 3.898 MB / 0.616 GB, free: 150.5 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003856/0.9183, allocations: 78.62 kB / 0.6161 GB, free: 150.5 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003642/0.9219, allocations: 1.778 MB / 0.6178 GB, free: 150.3 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00339/0.9253, allocations: 1.334 MB / 0.6191 GB, free: 150.2 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02616/0.9515, allocations: 19.89 MB / 0.6386 GB, free: 143.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/0.9539, allocations: 2.723 MB / 0.6412 GB, free: 142.8 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002344/0.9563, allocations: 0.7691 MB / 0.642 GB, free: 142.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001901/0.9582, allocations: 1.119 MB / 0.6431 GB, free: 142.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.904e-06/0.9582, allocations: 0 / 0.6431 GB, free: 142.6 MB / 490.8 MB Notification: Performance of Templates: time 0.103/1.061, allocations: 88.52 MB / 0.7295 GB, free: 61.06 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 -s gbode -gbm=radauIIA3 -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.901884687133133]