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.001512/0.001512, allocations: 92.27 kB / 20.96 MB, free: 3.449 MB / 18.57 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.00165/0.00165, allocations: 156.9 kB / 24.26 MB, free: 152 kB / 18.57 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.47/1.47, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 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 2.374e-06/2.374e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.676e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.01495/0.01499, allocations: 5.566 MB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006859/0.02185, allocations: 1.69 MB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.02315, allocations: 55.69 kB / 279.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.02454, allocations: 313.4 kB / 279.8 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.02737, allocations: 460.7 kB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.02888, allocations: 351.4 kB / 280.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005254/0.03413, allocations: 2.237 MB / 282.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003703/0.03783, allocations: 1.348 MB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00436/0.04219, allocations: 1.579 MB / 285.8 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.04617, allocations: 1.056 MB / 286.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000958/0.04713, allocations: 292 kB / 287.1 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.04869, allocations: 407.7 kB / 287.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.05003, allocations: 0.7323 MB / 288.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002451/0.05248, allocations: 0.8537 MB / 289.1 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1292/0.1817, allocations: 3.686 MB / 292.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1817, allocations: 0 / 292.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1817, allocations: 0 / 292.8 MB, free: 19.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001312/0.1818, allocations: 1.969 kB / 292.8 MB, free: 19.61 MB / 266.7 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.0055/0.1873, allocations: 2.44 MB / 295.2 MB, free: 18.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1874, allocations: 13.27 kB / 295.2 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009991/0.1884, allocations: 434.1 kB / 295.7 MB, free: 18.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.1904, allocations: 1.297 MB / 297 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.1905, allocations: 157 kB / 297.1 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003051/0.1908, allocations: 203.3 kB / 297.3 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004423/0.1953, allocations: 2.655 MB / 300 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/0.1953, allocations: 1.094 kB / 300 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.1955, allocations: 87.7 kB / 300.1 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.1956, allocations: 87.5 kB / 300.1 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003235/0.1989, allocations: 2.089 MB / 302.2 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009074/0.2079, allocations: 6.485 MB / 308.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.2094, allocations: 1.298 MB / 310 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.2109, allocations: 0.8861 MB / 310.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.2109, allocations: 15.19 kB / 310.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.211, allocations: 41.91 kB / 311 MB, free: 11.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 4.649e-06/0.211, allocations: 0 / 311 MB, free: 11.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.006565/0.2175, allocations: 3.927 MB / 314.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.2176, allocations: 68.41 kB / 314.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009114/0.2185, allocations: 0.8444 MB / 315.8 MB, free: 6.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.2185, allocations: 41.7 kB / 315.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.2189, allocations: 0.8553 MB / 316.7 MB, free: 5.383 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.219, allocations: 337.9 kB / 317 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/0.2193, allocations: 177 kB / 317.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.2193, allocations: 349.9 kB / 317.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.22, allocations: 493.7 kB / 318 MB, free: 4.051 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/0.2206, allocations: 0.6804 MB / 318.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.2219, allocations: 1.198 MB / 319.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2219, allocations: 4 kB / 319.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002195/0.2241, allocations: 1.658 MB / 321.6 MB, free: 432 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2241, allocations: 4 kB / 321.6 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.2242, allocations: 11.98 kB / 321.6 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.2253, allocations: 467.8 kB / 322 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007336/0.226, allocations: 170.1 kB / 322.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.2374, allocations: 8.763 MB / 331 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/0.2384, allocations: 47.95 kB / 331 MB, free: 6.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.609e-05/0.2385, allocations: 36 kB / 331 MB, free: 6.625 MB / 282.7 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.001462/0.2399, allocations: 0.6405 MB / 331.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.2403, allocations: 138 kB / 331.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.2406, allocations: 133.8 kB / 331.9 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.694e-05/0.2406, allocations: 15.98 kB / 332 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.2406, allocations: 4.062 kB / 332 MB, free: 5.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.2406, allocations: 3.984 kB / 332 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006605/0.2473, allocations: 3.053 MB / 335 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2473, allocations: 0 / 335 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/0.2479, allocations: 127.1 kB / 335.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.249, allocations: 456.7 kB / 335.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.845e-05/0.2491, allocations: 20 kB / 335.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.2597, allocations: 8.682 MB / 344.3 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2597, allocations: 6.891 kB / 344.3 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00419/0.2639, allocations: 2.321 MB / 346.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/0.2645, allocations: 211.3 kB / 346.8 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.2647, allocations: 16 kB / 346.8 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.2651, allocations: 47.95 kB / 346.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.2654, allocations: 96.23 kB / 347 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.2655, allocations: 27.98 kB / 347 MB, free: 6.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009505/0.2664, allocations: 0.5849 MB / 347.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2664, allocations: 0 / 347.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001997/0.2684, allocations: 386.5 kB / 348 MB, free: 5.32 MB / 298.7 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.0003379/0.2687, allocations: 148.3 kB / 348.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003055/0.2718, allocations: 1.776 MB / 349.9 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2718, allocations: 3.562 kB / 349.9 MB, free: 3.371 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.2737, allocations: 1.207 MB / 351.1 MB, free: 2.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.2751, allocations: 291.5 kB / 351.4 MB, free: 1.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006803/0.2819, allocations: 3.634 MB / 355 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.2833, allocations: 1.146 MB / 356.2 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005973/0.2839, allocations: 196.6 kB / 356.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.2841, allocations: 64.5 kB / 356.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2841, allocations: 0 / 356.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of Templates: time 0.03842/0.3225, allocations: 19.95 MB / 376.4 MB, free: 9.141 MB / 330.7 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.437991003971547]