Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001718/0.001718, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002158/0.002158, allocations: 201.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.789 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+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.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_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_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 43.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008709/0.3284, allocations: 5.562 MB / 437.1 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004102/0.3325, allocations: 1.65 MB / 438.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009692/0.3335, allocations: 55.69 kB / 438.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008652/0.3343, allocations: 305.5 kB / 439.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.336, allocations: 445.2 kB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.3369, allocations: 359.5 kB / 439.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.3396, allocations: 2.145 MB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.3417, allocations: 1.395 MB / 443.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.3431, allocations: 1.059 MB / 444.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.3449, allocations: 1.234 MB / 445.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004183/0.3453, allocations: 292 kB / 446 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.346, allocations: 419.7 kB / 446.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007021/0.3467, allocations: 0.7129 MB / 447.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.3479, allocations: 0.9998 MB / 448.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.3517, allocations: 3.651 MB / 451.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3517, allocations: 0 / 451.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.3517, allocations: 3.984 kB / 451.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.293e-05/0.3517, allocations: 0 / 451.8 MB, free: 2.328 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.004504/0.3562, allocations: 2.458 MB / 454.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3563, allocations: 12.03 kB / 454.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.357, allocations: 267.4 kB / 454.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00242/0.3594, allocations: 1.254 MB / 455.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.3595, allocations: 156.5 kB / 456 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.3598, allocations: 207 kB / 456.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004492/0.3643, allocations: 2.647 MB / 458.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/0.3644, allocations: 4 kB / 458.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.3646, allocations: 80 kB / 458.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.908e-05/0.3647, allocations: 52 kB / 458.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.3682, allocations: 2.085 MB / 461 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.3793, allocations: 6.317 MB / 467.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.3812, allocations: 1.304 MB / 468.6 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.3827, allocations: 0.8933 MB / 469.5 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.965e-05/0.3828, allocations: 13 kB / 469.6 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.3828, allocations: 43.56 kB / 469.6 MB, free: 200 kB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.958e-06/0.3828, allocations: 0 / 469.6 MB, free: 200 kB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.00811/0.3909, allocations: 3.887 MB / 473.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.391, allocations: 60.41 kB / 473.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3922, allocations: 0.8483 MB / 474.4 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.3923, allocations: 41.7 kB / 474.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006513/0.3929, allocations: 0.8553 MB / 475.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.3932, allocations: 345 kB / 475.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.3935, allocations: 178.6 kB / 475.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3937, allocations: 345.9 kB / 476.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/0.3944, allocations: 493.7 kB / 476.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/0.3953, allocations: 0.6694 MB / 477.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.397, allocations: 1.205 MB / 478.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3971, allocations: 0 / 478.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002699/0.3997, allocations: 1.621 MB / 480.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3998, allocations: 4 kB / 480.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.3998, allocations: 8 kB / 480.1 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.4009, allocations: 478.9 kB / 480.6 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.4016, allocations: 167.8 kB / 480.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009798/0.4114, allocations: 8.729 MB / 489.5 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008369/0.4122, allocations: 43.95 kB / 489.5 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/0.4123, allocations: 35.98 kB / 489.6 MB, free: 11.55 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.00131/0.4136, allocations: 0.6458 MB / 490.2 MB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.414, allocations: 103.3 kB / 490.3 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.4143, allocations: 133.8 kB / 490.4 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-05/0.4143, allocations: 12.47 kB / 490.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/0.4143, allocations: 0 / 490.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4143, allocations: 3.984 kB / 490.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006368/0.4207, allocations: 3.054 MB / 493.5 MB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.4207, allocations: 4 kB / 493.5 MB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.4213, allocations: 131.7 kB / 493.6 MB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.4224, allocations: 451 kB / 494.1 MB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.4225, allocations: 16 kB / 494.1 MB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.4327, allocations: 8.644 MB / 0.491 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4327, allocations: 0 / 0.491 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/0.4365, allocations: 2.297 MB / 0.4932 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006195/0.4371, allocations: 215.2 kB / 0.4934 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4372, allocations: 16.47 kB / 0.4934 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.4377, allocations: 44.05 kB / 0.4935 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.4379, allocations: 92.75 kB / 0.4936 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.438, allocations: 28 kB / 0.4936 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008768/0.4389, allocations: 0.5927 MB / 0.4942 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4389, allocations: 3.938 kB / 0.4942 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001525/0.4404, allocations: 379.9 kB / 0.4945 GB, free: 10.19 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.000317/0.4407, allocations: 144.7 kB / 0.4947 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002964/0.4437, allocations: 1.781 MB / 0.4964 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4437, allocations: 0 / 0.4964 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.4455, allocations: 1.203 MB / 0.4976 GB, free: 6.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4468, allocations: 286.8 kB / 0.4979 GB, free: 6.672 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006744/0.4536, allocations: 3.679 MB / 0.5014 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.455, allocations: 1.146 MB / 0.5026 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005561/0.4555, allocations: 188.7 kB / 0.5027 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.4557, allocations: 67.42 kB / 0.5028 GB, free: 1.512 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4557, allocations: 4 kB / 0.5028 GB, free: 1.508 MB / 414.1 MB Notification: Performance of Templates: time 0.03847/0.4942, allocations: 22.33 MB / 0.5246 GB, free: 11.52 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.97397693619132]