Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 55.92 kB / 347.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.348, allocations: 49.16 MB / 396.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007061/0.355, allocations: 6.227 MB / 403 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.3591, allocations: 1.706 MB / 404.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/0.3599, allocations: 51.22 kB / 404.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.3606, allocations: 310.7 kB / 405.1 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.362, allocations: 447.9 kB / 405.5 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000814/0.3628, allocations: 347.7 kB / 405.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.3652, allocations: 2.15 MB / 408 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.367, allocations: 1.373 MB / 409.4 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001649/0.3686, allocations: 1.042 MB / 410.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.3708, allocations: 1.238 MB / 411.7 MB, free: 160 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004549/0.3712, allocations: 289.3 kB / 412 MB, free: 160 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009888/0.3722, allocations: 0.4903 MB / 412.4 MB, free: 24 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007956/0.373, allocations: 0.7026 MB / 413.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.3746, allocations: 1.233 MB / 414.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.3797, allocations: 3.632 MB / 418 MB, free: 11.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3797, allocations: 4 kB / 418 MB, free: 11.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3797, allocations: 0 / 418 MB, free: 11.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.195e-05/0.3798, allocations: 0 / 418 MB, free: 11.88 MB / 334.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.005746/0.3855, allocations: 2.445 MB / 420.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3856, allocations: 17.8 kB / 420.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005702/0.3861, allocations: 241.4 kB / 420.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.3883, allocations: 1.127 MB / 421.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.3885, allocations: 159.8 kB / 422 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/0.3888, allocations: 210.7 kB / 422.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/0.3939, allocations: 2.619 MB / 424.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.3939, allocations: 0 / 424.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.3941, allocations: 80 kB / 424.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.985e-05/0.3942, allocations: 52 kB / 425 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003794/0.398, allocations: 2.089 MB / 427 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.4104, allocations: 7.224 MB / 434.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.4125, allocations: 1.299 MB / 435.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.414, allocations: 0.8855 MB / 436.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.4141, allocations: 20.86 kB / 436.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.4141, allocations: 47.5 kB / 436.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.955e-06/0.4141, allocations: 0 / 436.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008466/0.4226, allocations: 3.899 MB / 440.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.4226, allocations: 64.34 kB / 440.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.424, allocations: 0.8602 MB / 441.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.649e-05/0.424, allocations: 45.69 kB / 441.4 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/0.4248, allocations: 0.8475 MB / 442.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.4251, allocations: 337.1 kB / 442.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003475/0.4255, allocations: 182.6 kB / 442.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.4257, allocations: 345.9 kB / 443.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009071/0.4266, allocations: 0.4977 MB / 443.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.4276, allocations: 0.6694 MB / 444.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.4295, allocations: 1.197 MB / 445.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4295, allocations: 0 / 445.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002913/0.4324, allocations: 1.621 MB / 447.1 MB, free: 476 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.4324, allocations: 4 kB / 447.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.4325, allocations: 8 kB / 447.1 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.4336, allocations: 470.9 kB / 447.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.4343, allocations: 171.8 kB / 447.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.4443, allocations: 8.875 MB / 456.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009669/0.4453, allocations: 43.95 kB / 456.6 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/0.4454, allocations: 39.98 kB / 456.7 MB, free: 6.402 MB / 366.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.001516/0.4469, allocations: 0.6457 MB / 457.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.4472, allocations: 107.3 kB / 457.4 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.4475, allocations: 134 kB / 457.5 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.4476, allocations: 11.98 kB / 457.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/0.4476, allocations: 4 kB / 457.6 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4476, allocations: 3.984 kB / 457.6 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006743/0.4543, allocations: 3.449 MB / 461 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4543, allocations: 4.062 kB / 461 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.4549, allocations: 127.9 kB / 461.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.456, allocations: 462.9 kB / 461.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.4561, allocations: 23.98 kB / 461.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.4664, allocations: 8.801 MB / 470.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4664, allocations: 0 / 470.4 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.4706, allocations: 2.301 MB / 472.7 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/0.4714, allocations: 207.3 kB / 472.9 MB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.4715, allocations: 20 kB / 472.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.4719, allocations: 43.95 kB / 473 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/0.4722, allocations: 96.77 kB / 473.1 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.4723, allocations: 27.92 kB / 473.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001055/0.4733, allocations: 0.6044 MB / 473.7 MB, free: 4.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4733, allocations: 0 / 473.7 MB, free: 4.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001662/0.475, allocations: 379.9 kB / 474.1 MB, free: 4.387 MB / 382.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.0003034/0.4753, allocations: 151.1 kB / 474.2 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003213/0.4785, allocations: 1.772 MB / 476 MB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4785, allocations: 0 / 476 MB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.4805, allocations: 1.216 MB / 477.2 MB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.482, allocations: 295.2 kB / 477.5 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.4891, allocations: 3.676 MB / 481.2 MB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/0.4907, allocations: 1.722 MB / 482.9 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006251/0.4913, allocations: 188.9 kB / 483.1 MB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.4915, allocations: 67.38 kB / 483.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4915, allocations: 0 / 483.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of Templates: time 0.04018/0.5317, allocations: 21.93 MB / 0.4932 GB, free: 5.141 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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: 6.013495066203177]