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.001927/0.001927, allocations: 120.5 kB / 21.94 MB, free: 8 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.002445/0.002445, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.439/1.439, allocations: 207.6 MB / 236 MB, free: 9.988 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.00191/0.00191, allocations: 51.92 kB / 348.4 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2483, allocations: 49.16 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.006278/0.2545, allocations: 6.231 MB / 403.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.2579, allocations: 1.703 MB / 405.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008051/0.2587, allocations: 51.56 kB / 405.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.2593, allocations: 308.8 kB / 405.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.2607, allocations: 439.8 kB / 406.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.2615, allocations: 359.8 kB / 406.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002396/0.2639, allocations: 2.148 MB / 408.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.2656, allocations: 1.368 MB / 410.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.2669, allocations: 1.05 MB / 411.2 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002146/0.2691, allocations: 1.236 MB / 412.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005653/0.2696, allocations: 291.4 kB / 412.8 MB, free: 164 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.2707, allocations: 0.4941 MB / 413.3 MB, free: 16 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007384/0.2714, allocations: 0.6956 MB / 413.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.2732, allocations: 1.236 MB / 415.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004689/0.2779, allocations: 3.636 MB / 418.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2779, allocations: 0 / 418.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2779, allocations: 1.125 kB / 418.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001319/0.278, allocations: 4 kB / 418.8 MB, free: 11.87 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.006153/0.2842, allocations: 2.442 MB / 421.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.2842, allocations: 12.98 kB / 421.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/0.2848, allocations: 245.4 kB / 421.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/0.2873, allocations: 1.131 MB / 422.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.2875, allocations: 151.6 kB / 422.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003406/0.2878, allocations: 214.4 kB / 423 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/0.293, allocations: 2.614 MB / 425.6 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.162e-05/0.2931, allocations: 0 / 425.6 MB, free: 7.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.2933, allocations: 84 kB / 425.7 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.871e-05/0.2933, allocations: 52 kB / 425.8 MB, free: 6.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003693/0.297, allocations: 2.081 MB / 427.8 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.3092, allocations: 7.224 MB / 435.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.3112, allocations: 1.303 MB / 436.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.3128, allocations: 0.8894 MB / 437.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.885e-05/0.3128, allocations: 16.94 kB / 437.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.3129, allocations: 43.56 kB / 437.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.937e-06/0.3129, allocations: 0 / 437.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008251/0.3211, allocations: 3.899 MB / 441.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3212, allocations: 76.22 kB / 441.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.3225, allocations: 0.8602 MB / 442.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.3225, allocations: 41.7 kB / 442.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.3232, allocations: 0.8436 MB / 443 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.3235, allocations: 349.1 kB / 443.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.3237, allocations: 174.6 kB / 443.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.3239, allocations: 341.9 kB / 443.9 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008006/0.3247, allocations: 0.4938 MB / 444.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009448/0.3257, allocations: 0.6655 MB / 445 MB, free: 3.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.3275, allocations: 1.197 MB / 446.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3275, allocations: 4 kB / 446.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002962/0.3305, allocations: 1.624 MB / 447.9 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3305, allocations: 8 kB / 447.9 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.3305, allocations: 4 kB / 447.9 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.3317, allocations: 463.1 kB / 448.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.3324, allocations: 175.7 kB / 448.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/0.3425, allocations: 8.883 MB / 457.4 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.3433, allocations: 48.52 kB / 457.4 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.3434, allocations: 32 kB / 457.5 MB, free: 6.34 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.001197/0.3446, allocations: 0.6419 MB / 458.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.3449, allocations: 103.3 kB / 458.2 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.3452, allocations: 138 kB / 458.3 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-05/0.3452, allocations: 12 kB / 458.3 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.3452, allocations: 3.938 kB / 458.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.3452, allocations: 11.95 kB / 458.4 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006232/0.3515, allocations: 3.457 MB / 461.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.3515, allocations: 3.938 kB / 461.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.3521, allocations: 127.8 kB / 461.9 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.3531, allocations: 455 kB / 462.4 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.3532, allocations: 23.98 kB / 462.4 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009809/0.363, allocations: 8.793 MB / 471.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.363, allocations: 0 / 471.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/0.3668, allocations: 2.301 MB / 473.5 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006925/0.3675, allocations: 215.3 kB / 473.7 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.3677, allocations: 20.09 kB / 473.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.3681, allocations: 43.89 kB / 473.8 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/0.3683, allocations: 96.77 kB / 473.9 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/0.3684, allocations: 24 kB / 473.9 MB, free: 5.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009344/0.3693, allocations: 0.6083 MB / 474.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3693, allocations: 0 / 474.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001671/0.371, allocations: 387.9 kB / 474.9 MB, free: 4.312 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.0003319/0.3713, allocations: 139 kB / 475 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002996/0.3743, allocations: 1.776 MB / 476.8 MB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3743, allocations: 0 / 476.8 MB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.3762, allocations: 1.212 MB / 478 MB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.3777, allocations: 287 kB / 478.3 MB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/0.3845, allocations: 3.676 MB / 482 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.386, allocations: 1.683 MB / 483.6 MB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.3863, allocations: 71.42 kB / 483.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3863, allocations: 0 / 483.7 MB, free: 11.28 MB / 398.1 MB Notification: Performance of Templates: time 0.06931/0.4556, allocations: 58.67 MB / 0.5297 GB, free: 0.5 MB / 446.1 MB " [Timeout remaining time 660] 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.455829840153456]