Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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.001352/0.001352, allocations: 103.5 kB / 20.43 MB, free: 1.199 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.001467/0.001467, allocations: 193.7 kB / 23.71 MB, free: 4.422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 51.92 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2777, allocations: 52.18 MB / 423.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.00818/0.2858, allocations: 5.536 MB / 428.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.2902, allocations: 1.611 MB / 430.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009835/0.2912, allocations: 59.62 kB / 430.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007302/0.2919, allocations: 305.5 kB / 430.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.2935, allocations: 441.2 kB / 431 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008324/0.2943, allocations: 351.4 kB / 431.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.2969, allocations: 2.129 MB / 433.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.2989, allocations: 1.349 MB / 434.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.3007, allocations: 1.055 MB / 435.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.303, allocations: 1.187 MB / 437.1 MB, free: 332 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004184/0.3034, allocations: 288 kB / 437.3 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008977/0.3043, allocations: 415.6 kB / 437.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007498/0.305, allocations: 0.6974 MB / 438.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.3065, allocations: 1.004 MB / 439.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004146/0.3106, allocations: 3.639 MB / 443.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3106, allocations: 0 / 443.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3106, allocations: 7.938 kB / 443.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.751e-05/0.3107, allocations: 0 / 443.1 MB, free: 10.27 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.005146/0.3159, allocations: 2.449 MB / 445.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3159, allocations: 8.031 kB / 445.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004729/0.3164, allocations: 251.5 kB / 445.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.319, allocations: 1.235 MB / 447 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.3191, allocations: 160.5 kB / 447.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.3195, allocations: 204.1 kB / 447.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004784/0.3243, allocations: 2.639 MB / 450 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.3243, allocations: 0 / 450 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/0.3245, allocations: 84 kB / 450.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-05/0.3246, allocations: 52 kB / 450.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003846/0.3285, allocations: 2.081 MB / 452.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.3398, allocations: 6.321 MB / 458.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.3418, allocations: 1.304 MB / 459.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.3433, allocations: 0.8892 MB / 460.8 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.3434, allocations: 12.94 kB / 460.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.3434, allocations: 47.44 kB / 460.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.997e-06/0.3434, allocations: 0 / 460.8 MB, free: 8.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008184/0.3516, allocations: 3.891 MB / 464.7 MB, free: 4.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.3517, allocations: 60.41 kB / 464.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.3529, allocations: 0.8365 MB / 465.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.353, allocations: 41.7 kB / 465.6 MB, free: 3.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007249/0.3537, allocations: 0.863 MB / 466.5 MB, free: 2.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.354, allocations: 341.1 kB / 466.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002905/0.3543, allocations: 174.6 kB / 467 MB, free: 1.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3545, allocations: 345.9 kB / 467.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/0.3553, allocations: 497.6 kB / 467.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.3562, allocations: 0.6694 MB / 468.5 MB, free: 352 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.3581, allocations: 1.201 MB / 469.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.3581, allocations: 4 kB / 469.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002747/0.3608, allocations: 1.62 MB / 471.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3608, allocations: 6.188 kB / 471.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3609, allocations: 8 kB / 471.3 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.362, allocations: 463.2 kB / 471.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.3626, allocations: 175.6 kB / 472 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009547/0.3722, allocations: 8.738 MB / 480.7 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/0.3731, allocations: 48.09 kB / 480.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.3731, allocations: 39.98 kB / 480.8 MB, free: 3.551 MB / 382.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.0012/0.3743, allocations: 0.6341 MB / 481.4 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.3746, allocations: 107.3 kB / 481.5 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.3749, allocations: 129.9 kB / 481.7 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-05/0.3749, allocations: 15.98 kB / 481.7 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.3749, allocations: 0 / 481.7 MB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.3749, allocations: 7.922 kB / 481.7 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005716/0.3806, allocations: 3.046 MB / 484.7 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.3806, allocations: 0 / 484.7 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/0.3812, allocations: 127.8 kB / 484.9 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.3823, allocations: 455 kB / 485.3 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.3824, allocations: 16 kB / 485.3 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009436/0.3918, allocations: 8.651 MB / 494 MB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3918, allocations: 0 / 494 MB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.3956, allocations: 2.297 MB / 496.3 MB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/0.3962, allocations: 211.2 kB / 496.5 MB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.3964, allocations: 20 kB / 496.5 MB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.3968, allocations: 47.89 kB / 496.5 MB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/0.397, allocations: 84.83 kB / 496.6 MB, free: 3.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.3971, allocations: 31.98 kB / 496.6 MB, free: 3.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008139/0.3979, allocations: 0.5849 MB / 497.2 MB, free: 2.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3979, allocations: 0 / 497.2 MB, free: 2.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001428/0.3993, allocations: 380 kB / 497.6 MB, free: 2.211 MB / 398.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.0002701/0.3996, allocations: 142.5 kB / 497.7 MB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002825/0.4024, allocations: 1.781 MB / 499.5 MB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4024, allocations: 0 / 499.5 MB, free: 244 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.4042, allocations: 1.207 MB / 0.489 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.4055, allocations: 279.2 kB / 0.4893 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/0.4116, allocations: 3.676 MB / 0.4929 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001353/0.4129, allocations: 1.138 MB / 0.494 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005402/0.4135, allocations: 188.6 kB / 0.4941 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4137, allocations: 63.44 kB / 0.4942 GB, free: 9.555 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4137, allocations: 0 / 0.4942 GB, free: 9.555 MB / 414.1 MB Notification: Performance of Templates: time 0.0387/0.4524, allocations: 22.01 MB / 0.5157 GB, free: 3.875 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.366809343919158]