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.001316/0.001316, allocations: 107.1 kB / 19.76 MB, free: 2.551 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.0015/0.0015, allocations: 185.6 kB / 22.92 MB, free: 5.582 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.551/1.551, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.001756/0.001756, allocations: 58.11 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3551, allocations: 49.12 MB / 394.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.007616/0.3628, allocations: 6.245 MB / 400.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004553/0.3673, allocations: 1.704 MB / 402.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.3685, allocations: 39.56 kB / 402.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.3692, allocations: 311.2 kB / 402.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.371, allocations: 429.9 kB / 403.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008795/0.3719, allocations: 352.8 kB / 403.6 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.3745, allocations: 2.143 MB / 405.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.3763, allocations: 1.369 MB / 407.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.3779, allocations: 1.031 MB / 408.1 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.3803, allocations: 1.228 MB / 409.3 MB, free: 112 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005066/0.3808, allocations: 289.7 kB / 409.6 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3818, allocations: 448.4 kB / 410.1 MB, free: 56 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008046/0.3826, allocations: 0.7003 MB / 410.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.3845, allocations: 1.231 MB / 412 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00551/0.39, allocations: 3.64 MB / 415.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3901, allocations: 1.281 kB / 415.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3901, allocations: 0 / 415.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001165/0.3902, allocations: 0 / 415.6 MB, free: 12.03 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.007137/0.3973, allocations: 2.519 MB / 418.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.3974, allocations: 13.02 kB / 418.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007878/0.3982, allocations: 246.4 kB / 418.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.4005, allocations: 1.182 MB / 419.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.4007, allocations: 156.1 kB / 419.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003353/0.401, allocations: 206.5 kB / 419.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00543/0.4065, allocations: 2.616 MB / 422.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.4065, allocations: 1.438 kB / 422.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.4068, allocations: 87.25 kB / 422.6 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-05/0.4068, allocations: 56 kB / 422.7 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003811/0.4107, allocations: 2.085 MB / 424.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.424, allocations: 7.328 MB / 432.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.4268, allocations: 2.277 MB / 434.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.4283, allocations: 0.8887 MB / 435.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/0.4283, allocations: 12.94 kB / 435.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.4284, allocations: 43.55 kB / 435.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 5.05e-06/0.4284, allocations: 4 kB / 435.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008775/0.4372, allocations: 4.192 MB / 439.5 MB, free: 6.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.4372, allocations: 76.2 kB / 439.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.4387, allocations: 0.8563 MB / 440.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.4388, allocations: 45.7 kB / 440.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007402/0.4395, allocations: 0.8514 MB / 441.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.4399, allocations: 349 kB / 441.7 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.4402, allocations: 174.6 kB / 441.9 MB, free: 3.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4403, allocations: 345.9 kB / 442.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/0.4412, allocations: 497.7 kB / 442.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000959/0.4421, allocations: 0.6694 MB / 443.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.444, allocations: 1.197 MB / 444.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.444, allocations: 8 kB / 444.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002984/0.447, allocations: 1.621 MB / 446.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.447, allocations: 11.98 kB / 446.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.447, allocations: 4 kB / 446.2 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.4482, allocations: 463 kB / 446.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.4488, allocations: 171.7 kB / 446.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.4591, allocations: 9.301 MB / 456.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009954/0.4601, allocations: 44.03 kB / 456.2 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/0.4602, allocations: 39.98 kB / 456.2 MB, free: 4.562 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.001518/0.4617, allocations: 0.634 MB / 456.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000429/0.4621, allocations: 107.3 kB / 456.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.4624, allocations: 134 kB / 457.1 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/0.4625, allocations: 11.98 kB / 457.1 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.4625, allocations: 4 kB / 457.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.4625, allocations: 7.984 kB / 457.1 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/0.4686, allocations: 3.474 MB / 460.6 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-05/0.4687, allocations: 12 kB / 460.6 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.4692, allocations: 119.9 kB / 460.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009811/0.4702, allocations: 463.2 kB / 461.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.4703, allocations: 28.05 kB / 461.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009348/0.4796, allocations: 9.192 MB / 470.4 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4797, allocations: 3.984 kB / 470.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003785/0.4834, allocations: 2.301 MB / 472.7 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006611/0.4841, allocations: 284.4 kB / 473 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.4842, allocations: 16 kB / 473 MB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.4847, allocations: 47.95 kB / 473 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.4849, allocations: 84.81 kB / 473.1 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/0.485, allocations: 28 kB / 473.1 MB, free: 2.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008991/0.4859, allocations: 0.6083 MB / 473.7 MB, free: 2.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4859, allocations: 0 / 473.7 MB, free: 2.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001761/0.4877, allocations: 383.9 kB / 474.1 MB, free: 1.941 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.0002998/0.488, allocations: 143 kB / 474.2 MB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.491, allocations: 1.781 MB / 476 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.491, allocations: 384 / 476 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.493, allocations: 1.211 MB / 477.2 MB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.4947, allocations: 303 kB / 477.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/0.5021, allocations: 3.686 MB / 481.2 MB, free: 10.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.5037, allocations: 1.714 MB / 482.9 MB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006911/0.5044, allocations: 188.9 kB / 483.1 MB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.5046, allocations: 71.42 kB / 483.2 MB, free: 8.652 MB / 398.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5046, allocations: 0 / 483.2 MB, free: 8.652 MB / 398.1 MB Notification: Performance of Templates: time 0.04142/0.546, allocations: 21.59 MB / 0.4929 GB, free: 3.023 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.755243080668151]