Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002148/0.002148, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.633/1.633, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 63.89 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2823, allocations: 53.4 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008542/0.2909, allocations: 5.565 MB / 437.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.2948, allocations: 1.659 MB / 438.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009292/0.2957, allocations: 63.62 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008589/0.2965, allocations: 305.5 kB / 439.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.2982, allocations: 445.2 kB / 439.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000911/0.2991, allocations: 359.5 kB / 440 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.3019, allocations: 2.164 MB / 442.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002628/0.3046, allocations: 1.345 MB / 443.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.3063, allocations: 1.075 MB / 444.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.3083, allocations: 1.183 MB / 445.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.3086, allocations: 292 kB / 446.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007147/0.3094, allocations: 407.7 kB / 446.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006811/0.31, allocations: 0.7091 MB / 447.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.3113, allocations: 1.008 MB / 448.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.3151, allocations: 3.654 MB / 451.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3152, allocations: 0 / 451.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3152, allocations: 0 / 451.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.647e-05/0.3152, allocations: 4 kB / 451.8 MB, free: 2.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005008/0.3202, allocations: 2.464 MB / 454.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3203, allocations: 11.98 kB / 454.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006974/0.321, allocations: 275.4 kB / 454.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.3234, allocations: 1.258 MB / 455.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3235, allocations: 156.5 kB / 456 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003243/0.3239, allocations: 212.1 kB / 456.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/0.3287, allocations: 2.655 MB / 458.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/0.3288, allocations: 3.984 kB / 458.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.3289, allocations: 84 kB / 458.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.329, allocations: 76.12 kB / 459 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.3328, allocations: 2.093 MB / 461.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/0.3437, allocations: 6.329 MB / 467.4 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.3457, allocations: 1.292 MB / 468.7 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.3473, allocations: 0.9088 MB / 469.6 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.3473, allocations: 13 kB / 469.6 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/0.3474, allocations: 43.5 kB / 469.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.3474, allocations: 0 / 469.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.008086/0.3555, allocations: 3.891 MB / 473.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.3555, allocations: 68.34 kB / 473.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.3568, allocations: 0.8444 MB / 474.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.3569, allocations: 41.7 kB / 474.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007035/0.3576, allocations: 0.8592 MB / 475.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.3579, allocations: 333.1 kB / 475.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.3582, allocations: 182.5 kB / 475.9 MB, free: 9.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3584, allocations: 345.9 kB / 476.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008509/0.3592, allocations: 497.7 kB / 476.7 MB, free: 8.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.3602, allocations: 0.6807 MB / 477.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.3622, allocations: 1.197 MB / 478.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.3622, allocations: 0 / 478.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002905/0.3651, allocations: 1.613 MB / 480.2 MB, free: 5.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.3651, allocations: 14.48 kB / 480.2 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.3651, allocations: 7.938 kB / 480.2 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.3662, allocations: 467.1 kB / 480.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.3669, allocations: 171.8 kB / 480.8 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009839/0.3768, allocations: 8.717 MB / 489.6 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007421/0.3775, allocations: 56.06 kB / 489.6 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.3776, allocations: 36 kB / 489.7 MB, free: 11.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001217/0.3789, allocations: 0.6487 MB / 490.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.3791, allocations: 107.3 kB / 490.4 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.3794, allocations: 129.8 kB / 490.5 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/0.3795, allocations: 12 kB / 490.5 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.3795, allocations: 0 / 490.5 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.3795, allocations: 11.97 kB / 490.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00613/0.3856, allocations: 3.054 MB / 493.6 MB, free: 7.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3856, allocations: 4 kB / 493.6 MB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/0.3862, allocations: 123.9 kB / 493.7 MB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.3872, allocations: 451.2 kB / 494.2 MB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.3873, allocations: 27.92 kB / 494.2 MB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009506/0.3968, allocations: 8.632 MB / 0.4911 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.3968, allocations: 4.125 kB / 0.4911 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/0.4006, allocations: 2.293 MB / 0.4933 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/0.4012, allocations: 211.3 kB / 0.4935 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.4014, allocations: 27.92 kB / 0.4935 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.4018, allocations: 39.97 kB / 0.4936 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.4021, allocations: 92.75 kB / 0.4937 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.948e-05/0.4021, allocations: 24.09 kB / 0.4937 GB, free: 10.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000871/0.403, allocations: 0.5927 MB / 0.4943 GB, free: 10.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.403, allocations: 0 / 0.4943 GB, free: 10.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001515/0.4045, allocations: 379.9 kB / 0.4946 GB, free: 9.961 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000294/0.4048, allocations: 147.1 kB / 0.4948 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.4078, allocations: 1.788 MB / 0.4965 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4078, allocations: 0 / 0.4965 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.4097, allocations: 1.207 MB / 0.4977 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.411, allocations: 286.6 kB / 0.498 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/0.4187, allocations: 3.69 MB / 0.5016 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.4205, allocations: 1.146 MB / 0.5027 GB, free: 1.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006353/0.4212, allocations: 188.7 kB / 0.5029 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.4214, allocations: 59.44 kB / 0.5029 GB, free: 1.266 MB / 414.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4214, allocations: 0 / 0.5029 GB, free: 1.266 MB / 414.1 MB Notification: Performance of Templates: time 0.03886/0.4603, allocations: 22 MB / 0.5244 GB, free: 11.55 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.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: 5.897933010011911]