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.001713/0.001713, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001992/0.001992, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.517/1.517, allocations: 230.5 MB / 258.1 MB, free: 7.773 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.001937/0.001937, allocations: 67.91 kB / 379 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2456, allocations: 53.41 MB / 432.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007586/0.2531, allocations: 5.576 MB / 438 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.2567, allocations: 1.663 MB / 439.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006118/0.2573, allocations: 51.69 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006359/0.2579, allocations: 309.5 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.2591, allocations: 449.2 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.2598, allocations: 355.5 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.262, allocations: 2.164 MB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.264, allocations: 1.345 MB / 444.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.2654, allocations: 1.071 MB / 445.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.267, allocations: 1.187 MB / 446.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003934/0.2674, allocations: 292 kB / 446.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.2681, allocations: 407.7 kB / 447.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006515/0.2688, allocations: 0.7091 MB / 447.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.2699, allocations: 1.007 MB / 448.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003741/0.2737, allocations: 3.655 MB / 452.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2737, allocations: 0 / 452.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2737, allocations: 0 / 452.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.525e-05/0.2737, allocations: 3.938 kB / 452.6 MB, free: 2.137 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.00445/0.2782, allocations: 2.472 MB / 455.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2782, allocations: 11.98 kB / 455.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.2789, allocations: 271.4 kB / 455.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.2813, allocations: 1.254 MB / 456.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.2814, allocations: 160.5 kB / 456.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.2817, allocations: 204.1 kB / 457 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004248/0.286, allocations: 2.659 MB / 459.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.286, allocations: 0 / 459.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.2862, allocations: 84 kB / 459.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.88e-05/0.2863, allocations: 76.12 kB / 459.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.2898, allocations: 2.089 MB / 461.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.3003, allocations: 6.34 MB / 468.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.3022, allocations: 1.296 MB / 469.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.3037, allocations: 0.8972 MB / 470.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.3037, allocations: 9 kB / 470.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.3037, allocations: 43.56 kB / 470.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.496e-06/0.3038, allocations: 0 / 470.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007559/0.3113, allocations: 3.891 MB / 474.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.3114, allocations: 68.28 kB / 474.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.3125, allocations: 0.8483 MB / 475.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.3126, allocations: 41.7 kB / 475.3 MB, free: 11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006159/0.3132, allocations: 0.8591 MB / 476.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002868/0.3135, allocations: 341.1 kB / 476.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.3137, allocations: 174.6 kB / 476.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.3139, allocations: 345.9 kB / 477 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008149/0.3147, allocations: 497.6 kB / 477.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009633/0.3157, allocations: 0.6734 MB / 478.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.3175, allocations: 1.201 MB / 479.3 MB, free: 6.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3175, allocations: 0 / 479.3 MB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002801/0.3203, allocations: 1.613 MB / 481 MB, free: 5.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3203, allocations: 8 kB / 481 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3203, allocations: 12.16 kB / 481 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.3214, allocations: 466.9 kB / 481.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.3221, allocations: 167.7 kB / 481.6 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009543/0.3316, allocations: 8.725 MB / 490.3 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.3323, allocations: 52.08 kB / 490.4 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.3324, allocations: 36 kB / 490.4 MB, free: 11.28 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.001109/0.3335, allocations: 0.656 MB / 491.1 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.3338, allocations: 107.3 kB / 491.2 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.3341, allocations: 129.9 kB / 491.3 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/0.3341, allocations: 15.98 kB / 491.3 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3341, allocations: 0 / 491.3 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3341, allocations: 7.984 kB / 491.3 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/0.3401, allocations: 3.046 MB / 494.4 MB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3401, allocations: 0 / 494.4 MB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.3407, allocations: 123.8 kB / 494.5 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009955/0.3417, allocations: 459.3 kB / 494.9 MB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/0.3417, allocations: 27.92 kB / 495 MB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009241/0.351, allocations: 8.636 MB / 0.4918 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.351, allocations: 0 / 0.4918 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.3547, allocations: 2.293 MB / 0.494 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/0.3554, allocations: 215.3 kB / 0.4942 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.3555, allocations: 23.94 kB / 0.4943 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.356, allocations: 39.95 kB / 0.4943 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.3562, allocations: 88.83 kB / 0.4944 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.3563, allocations: 28 kB / 0.4944 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008835/0.3572, allocations: 0.5927 MB / 0.495 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3572, allocations: 4.406 kB / 0.495 GB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001513/0.3587, allocations: 383.9 kB / 0.4954 GB, free: 9.914 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.0003008/0.359, allocations: 139 kB / 0.4955 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.3619, allocations: 1.776 MB / 0.4972 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3619, allocations: 0 / 0.4972 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001785/0.3637, allocations: 1.215 MB / 0.4984 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.365, allocations: 275.1 kB / 0.4987 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.3715, allocations: 3.682 MB / 0.5023 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.3729, allocations: 1.115 MB / 0.5034 GB, free: 1.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.3731, allocations: 63.44 kB / 0.5034 GB, free: 1.457 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3731, allocations: 4 kB / 0.5034 GB, free: 1.453 MB / 414.1 MB Notification: Performance of Templates: time 0.2803/0.6534, allocations: 59.47 MB / 0.5615 GB, free: 85.8 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 12.704694825224578]