Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 196 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 47.92 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2337, allocations: 52.18 MB / 422.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008035/0.2418, allocations: 5.538 MB / 428.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.2452, allocations: 1.608 MB / 429.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009248/0.2462, allocations: 51.69 kB / 429.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007434/0.2469, allocations: 313.5 kB / 430.1 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.2483, allocations: 445.2 kB / 430.5 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.2489, allocations: 343.6 kB / 430.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.2511, allocations: 2.137 MB / 433 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.253, allocations: 1.352 MB / 434.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.2542, allocations: 1.055 MB / 435.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.2558, allocations: 1.175 MB / 436.6 MB, free: 412 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003742/0.2562, allocations: 292 kB / 436.8 MB, free: 120 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007279/0.2569, allocations: 411.7 kB / 437.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.2575, allocations: 0.709 MB / 438 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.2586, allocations: 0.996 MB / 439 MB, free: 14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.2621, allocations: 3.647 MB / 442.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2621, allocations: 0 / 442.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2621, allocations: 0 / 442.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.803e-05/0.2621, allocations: 0 / 442.6 MB, free: 10.34 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.004405/0.2665, allocations: 2.46 MB / 445.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.2666, allocations: 8.031 kB / 445.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000393/0.267, allocations: 303.7 kB / 445.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004185/0.2674, allocations: 243.4 kB / 445.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.2699, allocations: 1.223 MB / 446.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.27, allocations: 156.5 kB / 447 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.2703, allocations: 211.9 kB / 447.2 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.2745, allocations: 2.632 MB / 449.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.2745, allocations: 7.938 kB / 449.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/0.2747, allocations: 84 kB / 449.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-05/0.2747, allocations: 56 kB / 450 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/0.2783, allocations: 2.081 MB / 452 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.2893, allocations: 6.608 MB / 458.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.2913, allocations: 1.312 MB / 460 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.2928, allocations: 0.8892 MB / 460.9 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.2929, allocations: 13 kB / 460.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.2929, allocations: 39.56 kB / 460.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.015e-06/0.2929, allocations: 0 / 460.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007702/0.3006, allocations: 3.887 MB / 464.8 MB, free: 3.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.3007, allocations: 64.34 kB / 464.9 MB, free: 3.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3018, allocations: 0.868 MB / 465.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/0.3019, allocations: 45.69 kB / 465.8 MB, free: 2.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006504/0.3025, allocations: 0.8513 MB / 466.6 MB, free: 1.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.3028, allocations: 341.1 kB / 467 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/0.3031, allocations: 186.5 kB / 467.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3033, allocations: 341.9 kB / 467.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000805/0.3041, allocations: 497.7 kB / 468 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009576/0.305, allocations: 0.6694 MB / 468.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.3068, allocations: 1.205 MB / 469.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3068, allocations: 0 / 469.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002743/0.3096, allocations: 1.617 MB / 471.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3096, allocations: 7.938 kB / 471.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3096, allocations: 15.88 kB / 471.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3107, allocations: 466.9 kB / 471.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.3113, allocations: 167.8 kB / 472.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009608/0.321, allocations: 8.821 MB / 480.9 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.3216, allocations: 51.89 kB / 481 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.3217, allocations: 39.98 kB / 481 MB, free: 2.84 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.0009994/0.3227, allocations: 0.6341 MB / 481.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.3229, allocations: 115.3 kB / 481.7 MB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.3232, allocations: 130 kB / 481.9 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/0.3232, allocations: 15.98 kB / 481.9 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.3232, allocations: 0 / 481.9 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.3232, allocations: 7.922 kB / 481.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006206/0.3294, allocations: 3.313 MB / 485.2 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.3294, allocations: 64 / 485.2 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.33, allocations: 127.8 kB / 485.3 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009959/0.331, allocations: 451.2 kB / 485.8 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-05/0.331, allocations: 27.98 kB / 485.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009757/0.3408, allocations: 8.746 MB / 494.5 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3408, allocations: 0 / 494.5 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003769/0.3446, allocations: 2.297 MB / 496.8 MB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/0.3452, allocations: 211.3 kB / 497.1 MB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.3453, allocations: 28.05 kB / 497.1 MB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/0.3458, allocations: 47.89 kB / 497.1 MB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.346, allocations: 88.83 kB / 497.2 MB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.346, allocations: 20 kB / 497.2 MB, free: 2.008 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008468/0.3469, allocations: 0.6044 MB / 497.8 MB, free: 1.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3469, allocations: 0 / 497.8 MB, free: 1.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001399/0.3483, allocations: 387.9 kB / 498.2 MB, free: 1.031 MB / 398.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.00419/0.3525, allocations: 2.888 MB / 0.4894 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002943/0.3554, allocations: 1.776 MB / 0.4911 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3554, allocations: 0 / 0.4911 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.3573, allocations: 1.22 MB / 0.4923 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.3587, allocations: 299.3 kB / 0.4926 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01956/0.3783, allocations: 12.13 MB / 0.5044 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.3803, allocations: 1.134 MB / 0.5055 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006542/0.3809, allocations: 196.8 kB / 0.5057 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009527/0.3819, allocations: 0.6203 MB / 0.5063 GB, free: 12.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.011e-06/0.3819, allocations: 0 / 0.5063 GB, free: 12.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2845/0.6664, allocations: 34.73 MB / 0.5402 GB, free: 111.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.79, allocations: 3.234 kB / 0.5402 GB, free: 111.4 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 18.007869638036937]