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.001825/0.001825, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002124/0.002124, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.711/1.711, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.001732/0.001732, allocations: 43.94 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3922, allocations: 53.36 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.01064/0.4028, allocations: 5.564 MB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0059/0.4087, allocations: 1.651 MB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.4099, allocations: 59.62 kB / 439.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008111/0.4107, allocations: 309.5 kB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.4124, allocations: 441.2 kB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.4134, allocations: 359.5 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002588/0.4159, allocations: 2.145 MB / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.418, allocations: 1.395 MB / 444.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.4196, allocations: 1.055 MB / 445.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.4217, allocations: 1.245 MB / 446.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004244/0.4221, allocations: 288 kB / 446.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007973/0.4229, allocations: 419.7 kB / 447.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007195/0.4236, allocations: 0.7051 MB / 447.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.4251, allocations: 0.9959 MB / 448.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.4296, allocations: 3.659 MB / 452.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4296, allocations: 0 / 452.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4296, allocations: 0 / 452.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.26e-05/0.4297, allocations: 0 / 452.6 MB, free: 2.293 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.005139/0.4348, allocations: 2.456 MB / 455 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4348, allocations: 8.031 kB / 455 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007233/0.4356, allocations: 271.4 kB / 455.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.4381, allocations: 1.262 MB / 456.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.4382, allocations: 160.5 kB / 456.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/0.4385, allocations: 196.9 kB / 456.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004691/0.4432, allocations: 2.647 MB / 459.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.4433, allocations: 3.938 kB / 459.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.4435, allocations: 84 kB / 459.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.352e-05/0.4435, allocations: 52 kB / 459.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.4473, allocations: 2.085 MB / 461.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.4587, allocations: 6.321 MB / 468.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.4607, allocations: 1.3 MB / 469.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.4622, allocations: 0.8856 MB / 470.3 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.629e-05/0.4623, allocations: 9 kB / 470.3 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.4623, allocations: 47.5 kB / 470.3 MB, free: 172 kB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.248e-06/0.4623, allocations: 0 / 470.3 MB, free: 172 kB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008152/0.4705, allocations: 3.883 MB / 474.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.4705, allocations: 60.41 kB / 474.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.4718, allocations: 0.8483 MB / 475.1 MB, free: 11.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.4718, allocations: 45.69 kB / 475.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006885/0.4725, allocations: 0.8553 MB / 476 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.4728, allocations: 341.1 kB / 476.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.4731, allocations: 178.6 kB / 476.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.4733, allocations: 349.9 kB / 476.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008249/0.4742, allocations: 497.7 kB / 477.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009988/0.4752, allocations: 0.6714 MB / 478 MB, free: 8.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.477, allocations: 1.197 MB / 479.2 MB, free: 7.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.477, allocations: 4 kB / 479.2 MB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002849/0.4798, allocations: 1.621 MB / 480.9 MB, free: 5.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.4798, allocations: 8 kB / 480.9 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.4799, allocations: 7.938 kB / 480.9 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.4811, allocations: 470.9 kB / 481.3 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.4818, allocations: 175.7 kB / 481.5 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.4921, allocations: 8.729 MB / 490.2 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/0.4928, allocations: 47.95 kB / 490.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.371e-05/0.4929, allocations: 36 kB / 490.3 MB, free: 11.52 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.001127/0.494, allocations: 0.6475 MB / 491 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.4943, allocations: 103.3 kB / 491.1 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.4946, allocations: 133.8 kB / 491.2 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/0.4946, allocations: 12 kB / 491.2 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.4946, allocations: 4 kB / 491.2 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4946, allocations: 7.969 kB / 491.2 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/0.5008, allocations: 3.05 MB / 494.3 MB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.5008, allocations: 0 / 494.3 MB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/0.5014, allocations: 123.8 kB / 494.4 MB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.5027, allocations: 455.2 kB / 494.8 MB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.5028, allocations: 20 kB / 494.9 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.5133, allocations: 8.632 MB / 0.4917 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5133, allocations: 3.938 kB / 0.4917 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004061/0.5173, allocations: 2.301 MB / 0.4939 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008127/0.5182, allocations: 211.5 kB / 0.4941 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.5183, allocations: 24 kB / 0.4942 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.5187, allocations: 39.95 kB / 0.4942 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.519, allocations: 100.7 kB / 0.4943 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.5191, allocations: 23.98 kB / 0.4943 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009486/0.52, allocations: 0.5927 MB / 0.4949 GB, free: 10.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.52, allocations: 0 / 0.4949 GB, free: 10.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001706/0.5217, allocations: 379.9 kB / 0.4953 GB, free: 10.16 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.0003282/0.522, allocations: 143.1 kB / 0.4954 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003121/0.5252, allocations: 1.777 MB / 0.4971 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5252, allocations: 0 / 0.4971 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.5272, allocations: 1.211 MB / 0.4983 GB, free: 6.922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.5287, allocations: 279.2 kB / 0.4986 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007179/0.5358, allocations: 3.679 MB / 0.5022 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.5373, allocations: 1.138 MB / 0.5033 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006577/0.538, allocations: 188.7 kB / 0.5035 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.5382, allocations: 67.44 kB / 0.5035 GB, free: 1.488 MB / 414.1 MB Notification: Performance of SimCode: time 2.004e-06/0.5382, allocations: 3.938 kB / 0.5035 GB, free: 1.484 MB / 414.1 MB Notification: Performance of Templates: time 0.04318/0.5814, allocations: 22.33 MB / 0.5253 GB, free: 11.5 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 6.409386023005936]