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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002106/0.002106, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004089/0.004089, allocations: 214.5 kB / 24.47 MB, free: 3.777 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.612/1.612, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 54.58 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3227, allocations: 49.16 MB / 396.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007561/0.3302, allocations: 5.484 MB / 402.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.3343, allocations: 1.652 MB / 404 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005005/0.3348, allocations: 51.31 kB / 404 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.3355, allocations: 306.5 kB / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.3368, allocations: 439.3 kB / 404.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.3375, allocations: 351.5 kB / 405.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003046/0.3406, allocations: 2.155 MB / 407.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.3427, allocations: 1.314 MB / 408.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.3444, allocations: 1.048 MB / 409.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.3465, allocations: 1.183 MB / 410.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004392/0.3469, allocations: 290 kB / 411.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008552/0.3478, allocations: 410.2 kB / 411.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005464/0.3483, allocations: 0.7012 MB / 412.2 MB, free: 388 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001077/0.3494, allocations: 1.003 MB / 413.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004027/0.3535, allocations: 3.632 MB / 416.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3535, allocations: 0 / 416.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3535, allocations: 4 kB / 416.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.464e-05/0.3535, allocations: 1.25 kB / 416.8 MB, free: 13.04 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.005118/0.3586, allocations: 2.449 MB / 419.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3587, allocations: 12.67 kB / 419.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005706/0.3593, allocations: 241.1 kB / 419.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.3618, allocations: 1.125 MB / 420.7 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.3619, allocations: 155.6 kB / 420.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.3623, allocations: 211.1 kB / 421 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004904/0.3672, allocations: 2.642 MB / 423.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.3672, allocations: 3.984 kB / 423.7 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.3674, allocations: 80 kB / 423.7 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/0.3675, allocations: 56 kB / 423.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003845/0.3714, allocations: 2.085 MB / 425.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.3833, allocations: 6.336 MB / 432.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.3853, allocations: 1.292 MB / 433.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00172/0.3871, allocations: 0.8816 MB / 434.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-05/0.3871, allocations: 16.94 kB / 434.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/0.3872, allocations: 51.5 kB / 434.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 4.438e-06/0.3872, allocations: 0 / 434.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008973/0.3962, allocations: 3.887 MB / 438.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.3962, allocations: 64.41 kB / 438.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.3977, allocations: 0.8365 MB / 439.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.3978, allocations: 41.7 kB / 439.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007873/0.3986, allocations: 0.8514 MB / 440.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.3989, allocations: 345.1 kB / 440.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.3993, allocations: 182.6 kB / 440.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000271/0.3996, allocations: 345.9 kB / 441 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009816/0.4006, allocations: 497.7 kB / 441.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.4017, allocations: 0.6733 MB / 442.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.4036, allocations: 1.201 MB / 443.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.4036, allocations: 0 / 443.3 MB, free: 3.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003187/0.4068, allocations: 1.613 MB / 445 MB, free: 2.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4068, allocations: 8 kB / 445 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.4068, allocations: 7.938 kB / 445 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.4082, allocations: 467 kB / 445.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/0.4089, allocations: 179.7 kB / 445.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.4196, allocations: 8.725 MB / 454.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008399/0.4204, allocations: 43.95 kB / 454.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.4205, allocations: 39.98 kB / 454.4 MB, free: 8.496 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.001558/0.4221, allocations: 0.6458 MB / 455.1 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.4225, allocations: 107.4 kB / 455.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.4228, allocations: 137.7 kB / 455.3 MB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/0.4229, allocations: 12 kB / 455.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.4229, allocations: 0 / 455.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.4229, allocations: 7.969 kB / 455.3 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006898/0.4298, allocations: 3.054 MB / 458.4 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4298, allocations: 0 / 458.4 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.4304, allocations: 123.8 kB / 458.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.4315, allocations: 455 kB / 458.9 MB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/0.4316, allocations: 20 kB / 459 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.4418, allocations: 8.632 MB / 467.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4418, allocations: 3.938 kB / 467.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/0.446, allocations: 2.309 MB / 469.9 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008404/0.4468, allocations: 207.3 kB / 470.1 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.4471, allocations: 16 kB / 470.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.4477, allocations: 43.95 kB / 470.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.448, allocations: 92.86 kB / 470.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.448, allocations: 27.97 kB / 470.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.4491, allocations: 0.5965 MB / 470.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4491, allocations: 0 / 470.9 MB, free: 7.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00202/0.4511, allocations: 379.9 kB / 471.2 MB, free: 7.129 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.0003982/0.4515, allocations: 135 kB / 471.4 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003269/0.4548, allocations: 1.785 MB / 473.2 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4548, allocations: 0 / 473.2 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.4568, allocations: 1.211 MB / 474.4 MB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.4584, allocations: 275 kB / 474.6 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008919/0.4674, allocations: 3.672 MB / 478.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.4697, allocations: 1.142 MB / 479.5 MB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007876/0.4705, allocations: 180.6 kB / 479.6 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.4708, allocations: 67.41 kB / 479.7 MB, free: 14.47 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4708, allocations: 0 / 479.7 MB, free: 14.47 MB / 398.1 MB Notification: Performance of Templates: time 0.04447/0.5152, allocations: 22.01 MB / 0.4899 GB, free: 8.41 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: 5.748678615316749]