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.001709/0.001709, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002048/0.002048, allocations: 216.3 kB / 23 MB, free: 5.574 MB / 14.72 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 1.485/1.485, allocations: 230.2 MB / 256.2 MB, free: 8.539 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001908/0.001908, allocations: 67.88 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2676, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.009243/0.2769, allocations: 6.316 MB / 436.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004302/0.2812, allocations: 1.71 MB / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.2817, allocations: 47.81 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006248/0.2824, allocations: 309.5 kB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.2835, allocations: 445.2 kB / 438.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.2841, allocations: 347.6 kB / 438.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002508/0.2866, allocations: 2.16 MB / 441.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.2885, allocations: 1.412 MB / 442.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.2897, allocations: 1.04 MB / 443.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.2914, allocations: 1.249 MB / 444.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.2917, allocations: 288 kB / 445.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006407/0.2924, allocations: 427.8 kB / 445.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006667/0.293, allocations: 0.7129 MB / 446.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.2943, allocations: 1.237 MB / 447.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003677/0.298, allocations: 3.639 MB / 451.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.298, allocations: 0 / 451.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.298, allocations: 3.938 kB / 451.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.861e-05/0.298, allocations: 0 / 451.1 MB, free: 2.098 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.004259/0.3023, allocations: 2.551 MB / 453.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.3023, allocations: 8.031 kB / 453.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000666/0.303, allocations: 271.4 kB / 453.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.305, allocations: 1.303 MB / 455.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3052, allocations: 156.5 kB / 455.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003008/0.3055, allocations: 212.9 kB / 455.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004372/0.3098, allocations: 2.622 MB / 458.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.3099, allocations: 7.875 kB / 458.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.3101, allocations: 83.98 kB / 458.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.502e-05/0.3102, allocations: 84.12 kB / 458.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.3136, allocations: 2.093 MB / 460.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.3247, allocations: 7.491 MB / 468 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.3272, allocations: 2.286 MB / 470.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.3286, allocations: 0.8889 MB / 471.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.3287, allocations: 9 kB / 471.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.3287, allocations: 47.5 kB / 471.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.3287, allocations: 0 / 471.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.00793/0.3367, allocations: 4.192 MB / 475.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3367, allocations: 64.34 kB / 475.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.3379, allocations: 0.872 MB / 476.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.338, allocations: 41.7 kB / 476.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/0.3386, allocations: 0.8553 MB / 477.2 MB, free: 7.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002872/0.3389, allocations: 349.1 kB / 477.6 MB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/0.3392, allocations: 178.6 kB / 477.7 MB, free: 6.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3394, allocations: 345.9 kB / 478.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007908/0.3402, allocations: 497.7 kB / 478.6 MB, free: 5.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009516/0.3411, allocations: 0.6655 MB / 479.2 MB, free: 5.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.3429, allocations: 1.209 MB / 480.4 MB, free: 3.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3429, allocations: 7.938 kB / 480.4 MB, free: 3.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002641/0.3455, allocations: 1.617 MB / 482 MB, free: 2.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3456, allocations: 8 kB / 482.1 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.3456, allocations: 8 kB / 482.1 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.3466, allocations: 466.9 kB / 482.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.3473, allocations: 171.7 kB / 482.7 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.3573, allocations: 9.298 MB / 492 MB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.358, allocations: 43.95 kB / 492 MB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/0.358, allocations: 40 kB / 492.1 MB, free: 7.539 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.001088/0.3591, allocations: 0.6454 MB / 492.7 MB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.3593, allocations: 103.3 kB / 492.8 MB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.3596, allocations: 138.1 kB / 493 MB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/0.3596, allocations: 15.94 kB / 493 MB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3596, allocations: 0 / 493 MB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3597, allocations: 3.984 kB / 493 MB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/0.3656, allocations: 3.485 MB / 496.5 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3656, allocations: 0 / 496.5 MB, free: 3.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.3661, allocations: 131.9 kB / 496.6 MB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009865/0.3671, allocations: 454.9 kB / 497 MB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.3672, allocations: 20 kB / 497 MB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009562/0.3767, allocations: 9.2 MB / 0.4944 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3768, allocations: 4 kB / 0.4944 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003885/0.3806, allocations: 2.313 MB / 0.4966 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/0.3812, allocations: 280.5 kB / 0.4969 GB, free: 6.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3813, allocations: 23.92 kB / 0.4969 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.3817, allocations: 43.95 kB / 0.497 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.382, allocations: 88.81 kB / 0.4971 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.3821, allocations: 24 kB / 0.4971 GB, free: 5.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.3831, allocations: 0.6161 MB / 0.4977 GB, free: 5.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3831, allocations: 0 / 0.4977 GB, free: 5.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001605/0.3847, allocations: 376 kB / 0.498 GB, free: 4.898 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.0003293/0.3851, allocations: 150.3 kB / 0.4982 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003105/0.3882, allocations: 1.783 MB / 0.4999 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3882, allocations: 0 / 0.4999 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.3903, allocations: 1.204 MB / 0.5011 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.3918, allocations: 295 kB / 0.5014 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008712/0.4006, allocations: 3.701 MB / 0.505 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/0.4024, allocations: 1.722 MB / 0.5067 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007065/0.4031, allocations: 192.9 kB / 0.5069 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.4033, allocations: 67.42 kB / 0.5069 GB, free: 11.61 MB / 430.1 MB Notification: Performance of SimCode: time 2.224e-06/0.4033, allocations: 0 / 0.5069 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Templates: time 0.04124/0.4445, allocations: 21.53 MB / 0.528 GB, free: 6.277 MB / 446.1 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: 5.497389801777899]