Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00637/0.00637, allocations: 106.5 kB / 21.98 MB, free: 5.223 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.002231/0.002231, allocations: 215.9 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 259 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.88 kB / 379.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2544, allocations: 53.37 MB / 433.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008483/0.2629, allocations: 6.301 MB / 439.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.2669, allocations: 1.713 MB / 441.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008177/0.2678, allocations: 51.69 kB / 441.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.2685, allocations: 313.5 kB / 441.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.27, allocations: 445.2 kB / 442 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007949/0.2708, allocations: 351.6 kB / 442.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.2733, allocations: 2.145 MB / 444.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.2754, allocations: 1.403 MB / 445.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001713/0.2771, allocations: 1.055 MB / 446.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.2793, allocations: 1.241 MB / 448.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.2798, allocations: 288 kB / 448.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.2806, allocations: 475.6 kB / 448.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007325/0.2814, allocations: 0.7051 MB / 449.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.283, allocations: 1.237 MB / 450.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004206/0.2872, allocations: 3.646 MB / 454.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2872, allocations: 0 / 454.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2872, allocations: 4 kB / 454.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.721e-05/0.2873, allocations: 0 / 454.5 MB, free: 1.461 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.007509/0.2948, allocations: 2.457 MB / 457 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.2948, allocations: 12.03 kB / 457 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.2959, allocations: 267.4 kB / 457.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/0.2993, allocations: 1.254 MB / 458.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.2995, allocations: 156.5 kB / 458.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000488/0.3, allocations: 212.1 kB / 458.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006671/0.3066, allocations: 2.618 MB / 461.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/0.3067, allocations: 0 / 461.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002568/0.3069, allocations: 88 kB / 461.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-05/0.307, allocations: 52 kB / 461.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005543/0.3126, allocations: 2.085 MB / 463.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.329, allocations: 7.2 MB / 470.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002875/0.3319, allocations: 1.304 MB / 472.2 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.3341, allocations: 0.8933 MB / 473.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.246e-05/0.3341, allocations: 20.88 kB / 473.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.3342, allocations: 47.56 kB / 473.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.298e-06/0.3342, allocations: 0 / 473.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.008912/0.3431, allocations: 3.879 MB / 477 MB, free: 10.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3432, allocations: 72.28 kB / 477.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3444, allocations: 0.8759 MB / 478 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.131e-05/0.3445, allocations: 41.7 kB / 478 MB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006292/0.3451, allocations: 0.8514 MB / 478.9 MB, free: 8.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.3454, allocations: 341.1 kB / 479.2 MB, free: 8.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.3457, allocations: 178.6 kB / 479.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3458, allocations: 345.9 kB / 479.7 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008111/0.3466, allocations: 493.7 kB / 480.2 MB, free: 7.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009404/0.3476, allocations: 0.6734 MB / 480.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.3494, allocations: 1.205 MB / 482.1 MB, free: 5.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.3494, allocations: 4 kB / 482.1 MB, free: 5.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002749/0.3521, allocations: 1.617 MB / 483.7 MB, free: 3.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.3522, allocations: 8 kB / 483.7 MB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.3522, allocations: 4 kB / 483.7 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.3533, allocations: 470.9 kB / 484.2 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.354, allocations: 171.7 kB / 484.3 MB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009455/0.3635, allocations: 8.884 MB / 493.2 MB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.3641, allocations: 51.89 kB / 493.3 MB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.3642, allocations: 36 kB / 493.3 MB, free: 9.57 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.001062/0.3653, allocations: 0.6341 MB / 493.9 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.3655, allocations: 107.3 kB / 494 MB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.3657, allocations: 142.2 kB / 494.2 MB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.3658, allocations: 12 kB / 494.2 MB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/0.3658, allocations: 3.938 kB / 494.2 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.3658, allocations: 11.91 kB / 494.2 MB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006155/0.372, allocations: 3.453 MB / 497.7 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.372, allocations: 0 / 497.7 MB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.3725, allocations: 127.8 kB / 497.8 MB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.3736, allocations: 459 kB / 498.2 MB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.3736, allocations: 20.06 kB / 498.3 MB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009353/0.383, allocations: 8.794 MB / 0.4952 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.383, allocations: 0 / 0.4952 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.3868, allocations: 2.305 MB / 0.4974 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005887/0.3873, allocations: 207.2 kB / 0.4976 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.3875, allocations: 20 kB / 0.4976 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/0.3879, allocations: 43.95 kB / 0.4977 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.3881, allocations: 96.77 kB / 0.4978 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.398e-05/0.3882, allocations: 20 kB / 0.4978 GB, free: 8.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008836/0.3891, allocations: 0.6161 MB / 0.4984 GB, free: 7.934 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3891, allocations: 0 / 0.4984 GB, free: 7.934 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001448/0.3905, allocations: 383.9 kB / 0.4988 GB, free: 7.559 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.000276/0.3908, allocations: 143.2 kB / 0.4989 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.3936, allocations: 1.777 MB / 0.5006 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3936, allocations: 0 / 0.5006 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.3954, allocations: 1.211 MB / 0.5018 GB, free: 4.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3966, allocations: 303.1 kB / 0.5021 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006177/0.4028, allocations: 3.673 MB / 0.5057 GB, free: 308 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.4043, allocations: 1.683 MB / 0.5073 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.4046, allocations: 79.42 kB / 0.5074 GB, free: 14.51 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4046, allocations: 0 / 0.5074 GB, free: 14.51 MB / 430.1 MB Notification: Performance of Templates: time 0.2465/0.6511, allocations: 58.87 MB / 0.5649 GB, free: 83.36 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.595965814078227]