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.001758/0.001758, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002086/0.002086, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.561/1.561, allocations: 230.6 MB / 254.1 MB, free: 15.12 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.001569/0.001569, allocations: 47.92 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1033, allocations: 53.33 MB / 426.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.2155/0.3188, allocations: 6.271 MB / 433.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.3215, allocations: 1.699 MB / 434.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004674/0.322, allocations: 58.5 kB / 434.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.3225, allocations: 310.7 kB / 435.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.3235, allocations: 433.3 kB / 435.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005181/0.3241, allocations: 347.7 kB / 435.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.3259, allocations: 2.137 MB / 438 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.3279, allocations: 1.798 MB / 439.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.3292, allocations: 1.059 MB / 440.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.3308, allocations: 1.232 MB / 442.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004535/0.3313, allocations: 290.8 kB / 442.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007025/0.332, allocations: 419 kB / 442.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000553/0.3325, allocations: 0.7083 MB / 443.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.3336, allocations: 1.241 MB / 444.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.3373, allocations: 3.639 MB / 448.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3373, allocations: 5.219 kB / 448.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3373, allocations: 0.75 kB / 448.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.616e-05/0.3373, allocations: 1.688 kB / 448.4 MB, free: 1.832 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.004418/0.3418, allocations: 2.542 MB / 450.9 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3418, allocations: 9.75 kB / 451 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009712/0.3428, allocations: 263.1 kB / 451.2 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.3459, allocations: 1.308 MB / 452.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.3461, allocations: 155.8 kB / 452.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004454/0.3465, allocations: 207.9 kB / 452.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006899/0.3534, allocations: 2.619 MB / 455.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/0.3535, allocations: 0 / 455.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.3538, allocations: 93.36 kB / 455.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.31e-05/0.3539, allocations: 52.12 kB / 455.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005938/0.3598, allocations: 2.085 MB / 457.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01782/0.3776, allocations: 7.314 MB / 465 MB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.3813, allocations: 2.286 MB / 467.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.3833, allocations: 0.8862 MB / 468.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.912e-05/0.3834, allocations: 12 kB / 468.2 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.3835, allocations: 42.06 kB / 468.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.328e-06/0.3835, allocations: 0 / 468.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.011/0.3945, allocations: 4.198 MB / 472.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.3945, allocations: 68.39 kB / 472.5 MB, free: 2.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3957, allocations: 0.8642 MB / 473.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.3958, allocations: 45.64 kB / 473.4 MB, free: 1.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/0.3965, allocations: 0.8553 MB / 474.3 MB, free: 336 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.3968, allocations: 341.1 kB / 474.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/0.3971, allocations: 182.5 kB / 474.8 MB, free: 15.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3973, allocations: 345.9 kB / 475.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008309/0.3981, allocations: 0.4899 MB / 475.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009623/0.3991, allocations: 0.6694 MB / 476.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.4009, allocations: 1.205 MB / 477.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4009, allocations: 0 / 477.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002833/0.4037, allocations: 1.613 MB / 479.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4038, allocations: 8 kB / 479.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4038, allocations: 4 kB / 479.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.4049, allocations: 472.6 kB / 479.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.4056, allocations: 171.8 kB / 479.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.4159, allocations: 9.292 MB / 489.1 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007586/0.4166, allocations: 43.97 kB / 489.1 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/0.4167, allocations: 43.92 kB / 489.1 MB, free: 0.75 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.001204/0.4179, allocations: 0.6419 MB / 489.8 MB, free: 100 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.4182, allocations: 107.5 kB / 489.9 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.4185, allocations: 138.1 kB / 490 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/0.4185, allocations: 12 kB / 490 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4185, allocations: 0 / 490 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4185, allocations: 3.984 kB / 490 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/0.4247, allocations: 3.47 MB / 493.5 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4247, allocations: 0 / 493.5 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.4253, allocations: 127.9 kB / 493.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.4265, allocations: 459.1 kB / 494.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.4266, allocations: 23.98 kB / 494.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009864/0.4364, allocations: 9.212 MB / 0.4915 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4364, allocations: 4.031 kB / 0.4915 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/0.4404, allocations: 2.297 MB / 0.4938 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/0.4409, allocations: 284.4 kB / 0.494 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.441, allocations: 23.94 kB / 0.4941 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004471/0.4415, allocations: 39.95 kB / 0.4941 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.4417, allocations: 88.81 kB / 0.4942 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.794e-05/0.4418, allocations: 27.98 kB / 0.4942 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009336/0.4427, allocations: 0.6083 MB / 0.4948 GB, free: 14.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4427, allocations: 4 kB / 0.4948 GB, free: 14.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001759/0.4445, allocations: 379.9 kB / 0.4952 GB, free: 14.13 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.0002948/0.4448, allocations: 151.1 kB / 0.4953 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002966/0.4477, allocations: 1.781 MB / 0.4971 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4477, allocations: 0 / 0.4971 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.4495, allocations: 1.207 MB / 0.4982 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.4509, allocations: 295.8 kB / 0.4985 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.4573, allocations: 3.669 MB / 0.5021 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/0.4589, allocations: 1.722 MB / 0.5038 GB, free: 5.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005432/0.4595, allocations: 192.9 kB / 0.504 GB, free: 4.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.4597, allocations: 71.42 kB / 0.504 GB, free: 4.875 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4597, allocations: 3.938 kB / 0.504 GB, free: 4.871 MB / 414.1 MB Notification: Performance of Templates: time 0.03984/0.4995, allocations: 21.18 MB / 0.5247 GB, free: 15.91 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 -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/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_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: 5.759017758071423]