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.001326/0.001326, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001485/0.001485, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.472/1.472, allocations: 230.5 MB / 258.1 MB, free: 7.988 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.002031/0.002031, allocations: 59.91 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2449, allocations: 53.42 MB / 432.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008403/0.2533, allocations: 6.32 MB / 438.8 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003891/0.2572, allocations: 1.71 MB / 440.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.2582, allocations: 59.62 kB / 440.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000931/0.2592, allocations: 301.5 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.2609, allocations: 453.2 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.2618, allocations: 355.5 kB / 441.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00278/0.2645, allocations: 2.168 MB / 443.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.2668, allocations: 1.401 MB / 445.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.2683, allocations: 1.067 MB / 446.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.2704, allocations: 1.249 MB / 447.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005808/0.2709, allocations: 288 kB / 447.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.272, allocations: 475.6 kB / 448.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008408/0.2728, allocations: 0.709 MB / 449 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.2745, allocations: 1.237 MB / 450.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.2786, allocations: 3.651 MB / 453.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2786, allocations: 4 kB / 453.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2786, allocations: 3.938 kB / 453.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.166e-05/0.2786, allocations: 0 / 453.9 MB, free: 1.207 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.005879/0.2845, allocations: 2.464 MB / 456.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.2846, allocations: 12.03 kB / 456.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.2856, allocations: 271.4 kB / 456.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003584/0.2892, allocations: 1.254 MB / 457.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.2894, allocations: 152.5 kB / 458 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.2898, allocations: 212.1 kB / 458.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006778/0.2966, allocations: 2.626 MB / 460.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.068e-05/0.2967, allocations: 0 / 460.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.297, allocations: 91.98 kB / 460.9 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.2971, allocations: 76.12 kB / 461 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005731/0.3028, allocations: 2.097 MB / 463.1 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01766/0.3205, allocations: 7.371 MB / 470.5 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.3235, allocations: 1.315 MB / 471.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.3257, allocations: 0.8856 MB / 472.7 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.3258, allocations: 16.98 kB / 472.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.3259, allocations: 39.56 kB / 472.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.419e-06/0.3259, allocations: 0 / 472.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.01211/0.338, allocations: 3.902 MB / 476.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.238e-05/0.3381, allocations: 68.34 kB / 476.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.34, allocations: 0.8681 MB / 477.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/0.3401, allocations: 41.7 kB / 477.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009876/0.3411, allocations: 0.8591 MB / 478.5 MB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.3415, allocations: 341.1 kB / 478.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.342, allocations: 178.6 kB / 479 MB, free: 7.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3422, allocations: 341.9 kB / 479.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.3434, allocations: 0.4899 MB / 479.8 MB, free: 6.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.3448, allocations: 0.6733 MB / 480.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.347, allocations: 1.201 MB / 481.7 MB, free: 4.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.347, allocations: 4 kB / 481.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003404/0.3504, allocations: 1.617 MB / 483.3 MB, free: 3.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.3504, allocations: 14.44 kB / 483.3 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.3505, allocations: 4 kB / 483.3 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.3518, allocations: 478.9 kB / 483.8 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.3525, allocations: 163.8 kB / 483.9 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.3626, allocations: 8.879 MB / 492.8 MB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.3633, allocations: 47.95 kB / 492.9 MB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.3635, allocations: 32 kB / 492.9 MB, free: 9.043 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.001353/0.3648, allocations: 0.6561 MB / 493.5 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.3651, allocations: 103.3 kB / 493.6 MB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.3655, allocations: 138.1 kB / 493.8 MB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/0.3655, allocations: 12 kB / 493.8 MB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/0.3656, allocations: 3.938 kB / 493.8 MB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3656, allocations: 4.453 kB / 493.8 MB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006843/0.3724, allocations: 3.454 MB / 497.2 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3724, allocations: 0 / 497.2 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.373, allocations: 127.8 kB / 497.4 MB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.374, allocations: 459 kB / 497.8 MB, free: 4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.176e-05/0.3741, allocations: 23.98 kB / 497.8 MB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.3842, allocations: 8.794 MB / 0.4948 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3842, allocations: 4.031 kB / 0.4948 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/0.3881, allocations: 2.293 MB / 0.497 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.3887, allocations: 219.3 kB / 0.4972 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.3889, allocations: 23.88 kB / 0.4972 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.3894, allocations: 43.95 kB / 0.4973 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.3896, allocations: 85.3 kB / 0.4974 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.3897, allocations: 24 kB / 0.4974 GB, free: 8.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009467/0.3907, allocations: 0.6161 MB / 0.498 GB, free: 7.402 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3907, allocations: 0 / 0.498 GB, free: 7.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001549/0.3922, allocations: 383.9 kB / 0.4984 GB, free: 7.027 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.0003177/0.3925, allocations: 151 kB / 0.4985 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003077/0.3956, allocations: 1.781 MB / 0.5002 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3956, allocations: 8.188 kB / 0.5002 GB, free: 5.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.3974, allocations: 1.203 MB / 0.5014 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.3988, allocations: 299 kB / 0.5017 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006709/0.4055, allocations: 3.686 MB / 0.5053 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/0.4071, allocations: 1.699 MB / 0.507 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.4074, allocations: 71.41 kB / 0.507 GB, free: 13.95 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4074, allocations: 0 / 0.507 GB, free: 13.95 MB / 430.1 MB Notification: Performance of Templates: time 0.2505/0.6579, allocations: 58.99 MB / 0.5646 GB, free: 82.57 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.496546254027635]