Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008445/0.0008445, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003071/0.003071, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.834/0.834, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 325.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.078e-05, allocations: 8.047 kB / 325.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00619/0.006211, allocations: 5.581 MB / 331.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.00872, allocations: 1.663 MB / 333 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004095/0.00913, allocations: 55.69 kB / 333.1 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.009663, allocations: 313.4 kB / 333.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.01071, allocations: 464.7 kB / 333.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.01128, allocations: 359.4 kB / 334.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001778/0.01306, allocations: 2.233 MB / 336.4 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001562/0.01462, allocations: 1.356 MB / 337.8 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.01613, allocations: 1.583 MB / 339.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.01737, allocations: 1.044 MB / 340.4 MB, free: 488 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002914/0.01766, allocations: 292 kB / 340.7 MB, free: 196 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.01821, allocations: 411.7 kB / 341.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005149/0.01872, allocations: 0.7284 MB / 341.8 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007561/0.01948, allocations: 0.8498 MB / 342.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.02242, allocations: 3.685 MB / 346.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.02243, allocations: 3.984 kB / 346.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02243, allocations: 4 kB / 346.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.02245, allocations: 0 / 346.4 MB, free: 10.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.003385/0.02583, allocations: 2.453 MB / 348.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.02587, allocations: 11.98 kB / 348.8 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005432/0.02641, allocations: 271.4 kB / 349.1 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.02829, allocations: 1.25 MB / 350.3 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.02839, allocations: 152.5 kB / 350.5 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.02866, allocations: 200.4 kB / 350.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.03247, allocations: 2.656 MB / 353.3 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.03251, allocations: 3.938 kB / 353.3 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/0.0327, allocations: 91.98 kB / 353.4 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.55e-05/0.03278, allocations: 84.05 kB / 353.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.03605, allocations: 2.089 MB / 355.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008603/0.04465, allocations: 6.343 MB / 361.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.04638, allocations: 1.301 MB / 363.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.0477, allocations: 0.8896 MB / 364.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.04774, allocations: 9 kB / 364.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.04778, allocations: 47.5 kB / 364.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/0.04778, allocations: 0 / 364.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.005462/0.05324, allocations: 3.887 MB / 368.1 MB, free: 4.375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.05328, allocations: 60.41 kB / 368.1 MB, free: 4.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006645/0.05394, allocations: 0.8561 MB / 369 MB, free: 3.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.05399, allocations: 41.7 kB / 369 MB, free: 3.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.05434, allocations: 0.8553 MB / 369.9 MB, free: 2.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.05449, allocations: 341.1 kB / 370.2 MB, free: 2.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.05466, allocations: 174.6 kB / 370.4 MB, free: 2.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.05475, allocations: 353.9 kB / 370.7 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.05521, allocations: 497.7 kB / 371.2 MB, free: 1.168 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/0.05574, allocations: 0.6694 MB / 371.9 MB, free: 440 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.05677, allocations: 1.205 MB / 373.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.05677, allocations: 7.938 kB / 373.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0015/0.05827, allocations: 1.613 MB / 374.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.05829, allocations: 8 kB / 374.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.0583, allocations: 8 kB / 374.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.05888, allocations: 470.9 kB / 375.2 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/0.05923, allocations: 167.8 kB / 375.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.06428, allocations: 8.71 MB / 384.1 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.06453, allocations: 47.95 kB / 384.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.06458, allocations: 36 kB / 384.1 MB, free: 3.668 MB / 346.7 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.0006265/0.0652, allocations: 0.6466 MB / 384.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.06531, allocations: 107.3 kB / 384.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.06542, allocations: 137.8 kB / 385 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.06544, allocations: 8 kB / 385 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.06545, allocations: 4 kB / 385 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.06545, allocations: 3.984 kB / 385 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.06841, allocations: 3.05 MB / 388.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.06841, allocations: 0 / 388.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.06868, allocations: 123.8 kB / 388.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005192/0.0692, allocations: 455 kB / 388.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.06924, allocations: 20 kB / 388.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004839/0.07408, allocations: 8.656 MB / 397.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.07408, allocations: 0 / 397.3 MB, free: 5.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.07611, allocations: 2.297 MB / 399.6 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.07636, allocations: 207.2 kB / 399.8 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.07642, allocations: 20 kB / 399.9 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.07663, allocations: 39.95 kB / 399.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.07677, allocations: 100.7 kB / 400 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.0768, allocations: 24 kB / 400 MB, free: 3.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004921/0.07729, allocations: 0.5966 MB / 400.6 MB, free: 2.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07729, allocations: 0 / 400.6 MB, free: 2.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009153/0.07821, allocations: 383.9 kB / 401 MB, free: 2.297 MB / 362.7 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.0002225/0.07843, allocations: 139.1 kB / 401.1 MB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.08006, allocations: 1.765 MB / 402.9 MB, free: 340 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.08006, allocations: 4.438 kB / 402.9 MB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009435/0.08101, allocations: 1.215 MB / 404.1 MB, free: 15.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.08169, allocations: 290.2 kB / 404.4 MB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.08522, allocations: 3.55 MB / 407.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007559/0.08597, allocations: 1.122 MB / 409.1 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.0861, allocations: 72.48 kB / 409.1 MB, free: 9.949 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0861, allocations: 0 / 409.1 MB, free: 9.949 MB / 378.7 MB Notification: Performance of Templates: time 0.1502/0.2363, allocations: 59.47 MB / 468.6 MB, free: 106.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.236797736957669]