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.001871/0.001871, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002399/0.002399, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.77 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: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.88 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2458, allocations: 53.41 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007763/0.2536, allocations: 5.571 MB / 436.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003663/0.2572, allocations: 1.655 MB / 438.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005256/0.2578, allocations: 59.62 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.2584, allocations: 309.5 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.2598, allocations: 449.1 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.2604, allocations: 351.6 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.2627, allocations: 2.168 MB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001804/0.2645, allocations: 1.349 MB / 443 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.2658, allocations: 1.067 MB / 444.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001783/0.2676, allocations: 1.187 MB / 445.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004066/0.268, allocations: 292 kB / 445.6 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007247/0.2687, allocations: 407.7 kB / 446 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006671/0.2694, allocations: 0.7168 MB / 446.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.2705, allocations: 0.9959 MB / 447.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.2742, allocations: 3.655 MB / 451.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2742, allocations: 4 kB / 451.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2742, allocations: 0 / 451.3 MB, free: 2.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.741e-05/0.2743, allocations: 0 / 451.3 MB, free: 2.109 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.00476/0.2791, allocations: 2.468 MB / 453.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2791, allocations: 15.98 kB / 453.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003878/0.2795, allocations: 299.8 kB / 454.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007088/0.2802, allocations: 271.4 kB / 454.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.2827, allocations: 1.254 MB / 455.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.2828, allocations: 156.5 kB / 455.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/0.2831, allocations: 211.9 kB / 456 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004397/0.2875, allocations: 2.655 MB / 458.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.2876, allocations: 0 / 458.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.2878, allocations: 80 kB / 458.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.2879, allocations: 84.11 kB / 458.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/0.2919, allocations: 2.093 MB / 460.9 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.304, allocations: 6.631 MB / 467.5 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.306, allocations: 1.3 MB / 468.8 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.3076, allocations: 0.8856 MB / 469.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.3076, allocations: 9 kB / 469.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.3076, allocations: 43.56 kB / 469.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.577e-06/0.3077, allocations: 0 / 469.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.008012/0.3157, allocations: 3.898 MB / 473.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.3157, allocations: 64.41 kB / 473.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.317, allocations: 0.8835 MB / 474.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.3171, allocations: 37.7 kB / 474.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006856/0.3177, allocations: 0.8631 MB / 475.5 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004558/0.3182, allocations: 337.1 kB / 475.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.3185, allocations: 182.6 kB / 476 MB, free: 8.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.3187, allocations: 341.9 kB / 476.4 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/0.3195, allocations: 497.7 kB / 476.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009676/0.3205, allocations: 0.6733 MB / 477.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.3223, allocations: 1.197 MB / 478.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3223, allocations: 8 kB / 478.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002817/0.3251, allocations: 1.62 MB / 480.3 MB, free: 4.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3252, allocations: 4 kB / 480.3 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.3252, allocations: 8 kB / 480.3 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.3264, allocations: 467.1 kB / 480.8 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.327, allocations: 167.8 kB / 481 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009645/0.3367, allocations: 8.825 MB / 489.8 MB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/0.3373, allocations: 48.08 kB / 489.8 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.3374, allocations: 40 kB / 489.9 MB, free: 10.45 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.001073/0.3385, allocations: 0.6448 MB / 490.5 MB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.3387, allocations: 107.3 kB / 490.6 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.3389, allocations: 134.1 kB / 490.8 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.339, allocations: 15.94 kB / 490.8 MB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.339, allocations: 4 kB / 490.8 MB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.339, allocations: 3.984 kB / 490.8 MB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/0.345, allocations: 3.321 MB / 494.1 MB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.345, allocations: 0 / 494.1 MB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.3455, allocations: 127.8 kB / 494.2 MB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.3465, allocations: 455 kB / 494.7 MB, free: 5.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.3466, allocations: 20 kB / 494.7 MB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009319/0.3559, allocations: 8.74 MB / 0.4916 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3559, allocations: 4 kB / 0.4916 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/0.3596, allocations: 2.293 MB / 0.4939 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.3602, allocations: 211.3 kB / 0.4941 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.3603, allocations: 27.86 kB / 0.4941 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.3607, allocations: 47.89 kB / 0.4942 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.361, allocations: 92.83 kB / 0.4942 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/0.3611, allocations: 23.98 kB / 0.4943 GB, free: 9.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008733/0.3619, allocations: 0.6161 MB / 0.4949 GB, free: 9.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3619, allocations: 0 / 0.4949 GB, free: 9.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00148/0.3634, allocations: 383.9 kB / 0.4952 GB, free: 8.629 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.004034/0.3674, allocations: 2.888 MB / 0.4981 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002871/0.3703, allocations: 1.777 MB / 0.4998 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3703, allocations: 0 / 0.4998 GB, free: 3.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.3721, allocations: 1.211 MB / 0.501 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3734, allocations: 310.1 kB / 0.5013 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.3921, allocations: 12.2 MB / 0.5132 GB, free: 5.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.3936, allocations: 1.15 MB / 0.5143 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005451/0.3941, allocations: 188.9 kB / 0.5145 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007998/0.3949, allocations: 0.6165 MB / 0.5151 GB, free: 3.812 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3949, allocations: 3.938 kB / 0.5151 GB, free: 3.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2784/0.6733, allocations: 34.8 MB / 0.5491 GB, free: 98.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.64, allocations: 0 / 0.5491 GB, free: 98.92 MB / 446.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv","/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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,cDC1.v,cDC2.v,supplyL.inductor[2].i,supplyL.inductor[3].i Variables in the result:time,cDC1.v,cDC2.v,supplyL.inductor[2].i,supplyL.inductor[3].i [Calling sys.exit(0), Time elapsed: 17.826474567409605]