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.001784/0.001784, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002306/0.002306, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.451/1.451, 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.001639/0.001639, allocations: 43.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.232, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007794/0.2398, allocations: 5.556 MB / 437.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.2435, allocations: 1.655 MB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005914/0.2441, allocations: 59.62 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006223/0.2447, allocations: 305.5 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.246, allocations: 453.2 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.2467, allocations: 347.3 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002479/0.2492, allocations: 2.145 MB / 442.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.251, allocations: 1.345 MB / 444.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.2525, allocations: 1.056 MB / 445.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.2545, allocations: 1.194 MB / 446.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004428/0.2549, allocations: 288 kB / 446.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/0.2557, allocations: 399.7 kB / 447.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006244/0.2563, allocations: 0.7013 MB / 447.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.2575, allocations: 1.008 MB / 448.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003888/0.2614, allocations: 3.65 MB / 452.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2614, allocations: 4 kB / 452.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2614, allocations: 0 / 452.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.864e-05/0.2615, allocations: 0 / 452.5 MB, free: 2.473 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.004884/0.2664, allocations: 2.46 MB / 454.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2665, allocations: 8.031 kB / 454.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006623/0.2671, allocations: 267.4 kB / 455.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.2696, allocations: 1.262 MB / 456.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.2697, allocations: 152.5 kB / 456.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.27, allocations: 208.1 kB / 456.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004414/0.2744, allocations: 2.639 MB / 459.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.099e-05/0.2744, allocations: 0 / 459.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.2746, allocations: 88 kB / 459.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.219e-05/0.2747, allocations: 52 kB / 459.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.2783, allocations: 2.081 MB / 461.7 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.2892, allocations: 6.324 MB / 468 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.2912, allocations: 1.296 MB / 469.3 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.2927, allocations: 0.8894 MB / 470.2 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.2927, allocations: 9 kB / 470.2 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.2928, allocations: 51.48 kB / 470.2 MB, free: 348 kB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.556e-06/0.2928, allocations: 4 kB / 470.2 MB, free: 344 kB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.00768/0.3004, allocations: 3.887 MB / 474.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.3005, allocations: 60.41 kB / 474.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.3016, allocations: 0.856 MB / 475 MB, free: 11.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.3017, allocations: 37.7 kB / 475.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005995/0.3023, allocations: 0.8475 MB / 475.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/0.3026, allocations: 345 kB / 476.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.3029, allocations: 186.5 kB / 476.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.303, allocations: 345.9 kB / 476.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.3038, allocations: 0.4899 MB / 477.3 MB, free: 9.203 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/0.3048, allocations: 0.6694 MB / 477.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.3065, allocations: 1.201 MB / 479.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.3065, allocations: 4 kB / 479.1 MB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002776/0.3093, allocations: 1.613 MB / 480.8 MB, free: 5.562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3093, allocations: 8 kB / 480.8 MB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.3093, allocations: 4 kB / 480.8 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.3105, allocations: 459 kB / 481.2 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.3112, allocations: 183.6 kB / 481.4 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009358/0.3205, allocations: 8.722 MB / 490.1 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.3212, allocations: 51.89 kB / 490.2 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.3213, allocations: 39.98 kB / 490.2 MB, free: 11.69 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.00121/0.3225, allocations: 0.6341 MB / 490.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.3227, allocations: 111.2 kB / 490.9 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.323, allocations: 133.8 kB / 491.1 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.323, allocations: 16.06 kB / 491.1 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.323, allocations: 7.938 kB / 491.1 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.323, allocations: 3.984 kB / 491.1 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005589/0.3286, allocations: 3.038 MB / 494.1 MB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.3286, allocations: 0 / 494.1 MB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.3292, allocations: 127.9 kB / 494.3 MB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009626/0.3301, allocations: 450.9 kB / 494.7 MB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.3302, allocations: 23.98 kB / 494.7 MB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009024/0.3392, allocations: 8.644 MB / 0.4916 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3392, allocations: 0 / 0.4916 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.3429, allocations: 2.301 MB / 0.4938 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000626/0.3435, allocations: 207.2 kB / 0.494 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.3436, allocations: 20 kB / 0.494 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.3441, allocations: 47.89 kB / 0.4941 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.3443, allocations: 88.83 kB / 0.4942 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.3443, allocations: 20 kB / 0.4942 GB, free: 11.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008114/0.3452, allocations: 0.5966 MB / 0.4948 GB, free: 10.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3452, allocations: 0 / 0.4948 GB, free: 10.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001447/0.3466, allocations: 379.9 kB / 0.4951 GB, free: 10.35 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.0002845/0.3469, allocations: 152.7 kB / 0.4953 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002883/0.3498, allocations: 1.776 MB / 0.497 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3498, allocations: 0 / 0.497 GB, free: 8.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.3516, allocations: 1.204 MB / 0.4982 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.353, allocations: 291 kB / 0.4985 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006145/0.3591, allocations: 3.671 MB / 0.5021 GB, free: 3.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.3604, allocations: 1.111 MB / 0.5031 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/0.3607, allocations: 71.42 kB / 0.5032 GB, free: 1.883 MB / 414.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3607, allocations: 0 / 0.5032 GB, free: 1.883 MB / 414.1 MB Notification: Performance of Templates: time 0.2445/0.6051, allocations: 59.34 MB / 0.5612 GB, free: 86.65 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/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: 11.75217022234574]