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.001908/0.001908, allocations: 112 kB / 21.93 MB, free: 5.219 MB / 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.002448/0.002448, allocations: 213.5 kB / 25.22 MB, free: 3.031 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.421/1.421, allocations: 207.7 MB / 236.1 MB, free: 9.812 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.002092/0.002092, allocations: 62.58 kB / 348.4 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3047, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006909/0.3116, allocations: 5.492 MB / 403.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004238/0.3159, allocations: 1.648 MB / 404.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.317, allocations: 46.75 kB / 404.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.3178, allocations: 309.9 kB / 405.1 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.3196, allocations: 444.3 kB / 405.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.3206, allocations: 348.4 kB / 405.9 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003283/0.3239, allocations: 2.151 MB / 408 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.3263, allocations: 1.321 MB / 409.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.3288, allocations: 1.049 MB / 410.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.3317, allocations: 1.177 MB / 411.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007647/0.3325, allocations: 290.5 kB / 411.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.3338, allocations: 408.6 kB / 412.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007041/0.3345, allocations: 0.706 MB / 412.9 MB, free: 416 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.3362, allocations: 0.9914 MB / 413.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00625/0.3424, allocations: 3.643 MB / 417.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3424, allocations: 5.125 kB / 417.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3424, allocations: 0 / 417.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001528/0.3426, allocations: 0 / 417.6 MB, free: 13.06 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.01007/0.3527, allocations: 2.446 MB / 420 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.3527, allocations: 17.58 kB / 420 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/0.3535, allocations: 240.9 kB / 420.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.3566, allocations: 1.128 MB / 421.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.3568, allocations: 151.3 kB / 421.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004729/0.3573, allocations: 206.8 kB / 421.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007733/0.365, allocations: 2.643 MB / 424.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.401e-05/0.3651, allocations: 4 kB / 424.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002811/0.3654, allocations: 84 kB / 424.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.3655, allocations: 55.98 kB / 424.5 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006384/0.3719, allocations: 2.081 MB / 426.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0191/0.391, allocations: 6.344 MB / 433 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003311/0.3943, allocations: 1.289 MB / 434.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00259/0.3969, allocations: 0.8816 MB / 435.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.068e-05/0.3969, allocations: 13 kB / 435.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.557e-05/0.397, allocations: 55.42 kB / 435.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 6.463e-06/0.397, allocations: 0 / 435.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.01265/0.4097, allocations: 3.887 MB / 439.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.4097, allocations: 64.41 kB / 439.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.4116, allocations: 0.8365 MB / 440 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.535e-05/0.4117, allocations: 45.69 kB / 440 MB, free: 8.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/0.4124, allocations: 0.8553 MB / 440.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000361/0.4128, allocations: 341.1 kB / 441.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.4131, allocations: 182.6 kB / 441.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.4133, allocations: 345.9 kB / 441.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009107/0.4142, allocations: 493.7 kB / 442.2 MB, free: 6.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.4153, allocations: 0.6694 MB / 442.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.4173, allocations: 1.201 MB / 444.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4173, allocations: 0 / 444.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003191/0.4205, allocations: 1.617 MB / 445.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.4205, allocations: 8 kB / 445.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.4205, allocations: 8 kB / 445.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.4218, allocations: 466.9 kB / 446.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007696/0.4226, allocations: 175.7 kB / 446.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.4332, allocations: 8.729 MB / 455.1 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/0.434, allocations: 47.95 kB / 455.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.4342, allocations: 40.12 kB / 455.2 MB, free: 8.527 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.001362/0.4355, allocations: 0.6419 MB / 455.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.4359, allocations: 103.3 kB / 455.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.4362, allocations: 141.7 kB / 456 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/0.4362, allocations: 12 kB / 456.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.4362, allocations: 0 / 456.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.4362, allocations: 3.984 kB / 456.1 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007052/0.4433, allocations: 3.05 MB / 459.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4433, allocations: 0 / 459.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.4439, allocations: 123.8 kB / 459.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001123/0.445, allocations: 458.9 kB / 459.7 MB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.527e-05/0.4451, allocations: 23.98 kB / 459.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.4555, allocations: 8.635 MB / 468.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4555, allocations: 0 / 468.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004471/0.46, allocations: 2.297 MB / 470.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008163/0.4608, allocations: 203.3 kB / 470.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.4611, allocations: 27.97 kB / 470.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000637/0.4617, allocations: 43.89 kB / 470.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.462, allocations: 96.77 kB / 471 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.115e-05/0.462, allocations: 24.47 kB / 471 MB, free: 8.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001083/0.4631, allocations: 0.5849 MB / 471.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4631, allocations: 0 / 471.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002063/0.4652, allocations: 379.9 kB / 472 MB, free: 7.18 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.0004441/0.4656, allocations: 147 kB / 472.1 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003364/0.469, allocations: 1.78 MB / 473.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.469, allocations: 0 / 473.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.471, allocations: 1.208 MB / 475.1 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.4727, allocations: 283 kB / 475.4 MB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/0.4808, allocations: 3.649 MB / 479 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/0.4825, allocations: 1.107 MB / 480.1 MB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.4828, allocations: 79.36 kB / 480.2 MB, free: 14.73 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4828, allocations: 0 / 480.2 MB, free: 14.73 MB / 398.1 MB Notification: Performance of Templates: time 0.07245/0.5553, allocations: 59.13 MB / 0.5267 GB, free: 3.48 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 12.254711378831416]