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.001008/0.001008, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001392/0.001392, allocations: 166.2 kB / 25.61 MB, free: 8.578 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 0.8882/0.8882, allocations: 177 MB / 205.9 MB, free: 4.441 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.1595/0.1595, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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 3.466e-06/3.466e-06, allocations: 4 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.316e-05, allocations: 2.312 kB / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01837/0.0184, allocations: 21.15 MB / 401.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01434/0.03273, allocations: 5.498 MB / 406.7 MB, free: 12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003715/0.03645, allocations: 230.8 kB / 406.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01188/0.04833, allocations: 9.878 MB / 416.8 MB, free: 1.848 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.05472, allocations: 2.236 MB / 419 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.05837, allocations: 1.874 MB / 420.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.01431/0.07269, allocations: 15.02 MB / 435.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02964/0.1023, allocations: 21.19 MB / 457.1 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01596/0.1183, allocations: 12.03 MB / 469.1 MB, free: 13.19 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/0.1288, allocations: 8.8 MB / 477.9 MB, free: 4.375 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003867/0.1326, allocations: 2.098 MB / 480 MB, free: 2.277 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004002/0.1366, allocations: 2.355 MB / 482.4 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002858/0.1395, allocations: 4.488 MB / 486.8 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007621/0.1471, allocations: 5.739 MB / 492.6 MB, free: 5.672 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3134/0.4605, allocations: 14.52 MB / 0.4952 GB, free: 66.38 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4605, allocations: 0 / 0.4952 GB, free: 66.38 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4605, allocations: 0 / 0.4952 GB, free: 66.38 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0006016/0.4611, allocations: 0 / 0.4952 GB, free: 66.38 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.03127/0.4924, allocations: 19.44 MB / 0.5142 GB, free: 61.61 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.4924, allocations: 11.84 kB / 0.5142 GB, free: 61.61 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03873/0.5311, allocations: 9.658 MB / 0.5236 GB, free: 59.63 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/0.5422, allocations: 7.485 MB / 0.531 GB, free: 54.55 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005215/0.5428, allocations: 1.059 MB / 0.532 GB, free: 54.07 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.5443, allocations: 1.373 MB / 0.5333 GB, free: 53.17 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.5608, allocations: 11.69 MB / 0.5447 GB, free: 41.92 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002423/0.561, allocations: 18.94 kB / 0.5448 GB, free: 41.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/0.562, allocations: 0.5787 MB / 0.5453 GB, free: 41.34 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004344/0.5625, allocations: 0.6978 MB / 0.546 GB, free: 40.64 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008757/0.5712, allocations: 5.26 MB / 0.5511 GB, free: 35.37 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05953/0.6308, allocations: 54.61 MB / 0.6045 GB, free: 14.43 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/0.6383, allocations: 7.518 MB / 0.6118 GB, free: 8.402 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.64, allocations: 1.529 MB / 0.6133 GB, free: 6.902 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.6514, allocations: 8.318 MB / 0.6214 GB, free: 14.88 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/0.6514, allocations: 80.94 kB / 0.6215 GB, free: 14.79 MB / 458.8 MB Notification: Performance of pre-optimization done (n=465): time 5.591e-06/0.6514, allocations: 0 / 0.6215 GB, free: 14.79 MB / 458.8 MB Notification: Performance of matching and sorting (n=465): time 0.01423/0.6657, allocations: 7.646 MB / 0.629 GB, free: 7.156 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.6657, allocations: 120.7 kB / 0.6291 GB, free: 7.02 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005103/0.6708, allocations: 4.712 MB / 0.6337 GB, free: 2.934 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.671, allocations: 102.1 kB / 0.6338 GB, free: 2.832 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00332/0.6744, allocations: 6.489 MB / 0.6401 GB, free: 12.5 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.6754, allocations: 1.749 MB / 0.6418 GB, free: 10.85 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/0.6772, allocations: 1.786 MB / 0.6436 GB, free: 9.203 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6773, allocations: 480.7 kB / 0.644 GB, free: 8.73 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.6785, allocations: 0.9044 MB / 0.6449 GB, free: 7.824 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/0.6819, allocations: 5.665 MB / 0.6505 GB, free: 420 kB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006149/0.6881, allocations: 7.301 MB / 0.6576 GB, free: 7.719 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.738e-05/0.6881, allocations: 28 kB / 0.6576 GB, free: 7.691 MB / 490.8 MB Notification: Performance of matching and sorting (n=961) (initialization): time 0.008186/0.6963, allocations: 6.188 MB / 0.6637 GB, free: 2.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/0.6964, allocations: 56 kB / 0.6637 GB, free: 2.125 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.6965, allocations: 100 kB / 0.6638 GB, free: 2.027 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/0.6992, allocations: 1.613 MB / 0.6654 GB, free: 436 kB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1911/0.8903, allocations: 1.431 MB / 0.6668 GB, free: 129.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008692/0.8911, allocations: 348.6 kB / 0.6671 GB, free: 129 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005057/0.8962, allocations: 0.8273 MB / 0.6679 GB, free: 129 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007324/0.8969, allocations: 329.1 kB / 0.6682 GB, free: 129 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.003262/0.9002, allocations: 0.6637 MB / 0.6689 GB, free: 128.9 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009966/0.9012, allocations: 0.6432 MB / 0.6695 GB, free: 128.9 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/0.907, allocations: 3.988 MB / 0.6734 GB, free: 128.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-05/0.9071, allocations: 45.5 kB / 0.6734 GB, free: 128.6 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.9071, allocations: 4.703 kB / 0.6734 GB, free: 128.6 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/0.9071, allocations: 23.5 kB / 0.6735 GB, free: 128.6 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.9238, allocations: 10.35 MB / 0.6836 GB, free: 128.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.9238, allocations: 2.375 kB / 0.6836 GB, free: 128.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.9252, allocations: 0.5838 MB / 0.6842 GB, free: 128.1 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/0.9275, allocations: 1.466 MB / 0.6856 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002382/0.9277, allocations: 101.2 kB / 0.6857 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002924/0.928, allocations: 177.3 kB / 0.6858 GB, free: 127.9 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.928, allocations: 5.438 kB / 0.6859 GB, free: 127.9 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006113/0.9341, allocations: 4.811 MB / 0.6906 GB, free: 127.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.9355, allocations: 1.045 MB / 0.6916 GB, free: 127.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/0.936, allocations: 77.75 kB / 0.6916 GB, free: 127.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.9371, allocations: 149.7 kB / 0.6918 GB, free: 127.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/0.9374, allocations: 309.5 kB / 0.6921 GB, free: 127.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/0.9376, allocations: 111.4 kB / 0.6922 GB, free: 127.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.001633/0.9393, allocations: 1.915 MB / 0.6941 GB, free: 126.9 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9393, allocations: 6.297 kB / 0.6941 GB, free: 126.9 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.006427/0.9457, allocations: 3.244 MB / 0.6972 GB, free: 126 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.0005043/0.9462, allocations: 251.9 kB / 0.6975 GB, free: 125.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.005907/0.9521, allocations: 4.544 MB / 0.7019 GB, free: 124.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.9521, allocations: 128 / 0.7019 GB, free: 124.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.9547, allocations: 2.045 MB / 0.7039 GB, free: 122.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003318/0.958, allocations: 1.338 MB / 0.7052 GB, free: 121.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/0.9804, allocations: 20.05 MB / 0.7248 GB, free: 105.5 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/0.9833, allocations: 3.848 MB / 0.7286 GB, free: 102.7 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.002608/0.9859, allocations: 0.7675 MB / 0.7293 GB, free: 102.1 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/0.9879, allocations: 1.262 MB / 0.7305 GB, free: 101 MB / 490.8 MB Notification: Performance of SimCode: time 2.285e-06/0.9879, allocations: 4 kB / 0.7305 GB, free: 101 MB / 490.8 MB Notification: Performance of Templates: time 0.1036/1.092, allocations: 90.16 MB / 0.8186 GB, free: 12.15 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 -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: 6.338120568078011]