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.001329/0.001329, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001354/0.001354, allocations: 187.3 kB / 23.72 MB, free: 4.684 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.441/1.441, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.002604/0.002604, allocations: 47.92 kB / 370.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3136, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008273/0.3219, allocations: 6.294 MB / 428.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.3256, allocations: 1.663 MB / 430.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.3263, allocations: 59.69 kB / 430.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.327, allocations: 305.5 kB / 430.9 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.3286, allocations: 441.2 kB / 431.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008727/0.3295, allocations: 351.5 kB / 431.7 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002898/0.3324, allocations: 2.137 MB / 433.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.3345, allocations: 1.4 MB / 435.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.3361, allocations: 1.052 MB / 436.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.3381, allocations: 1.241 MB / 437.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003993/0.3385, allocations: 291.9 kB / 437.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008614/0.3393, allocations: 0.4918 MB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006873/0.34, allocations: 0.7051 MB / 439 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.3417, allocations: 1.229 MB / 440.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.3464, allocations: 3.647 MB / 443.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.3464, allocations: 0 / 443.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3464, allocations: 0 / 443.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001343/0.3465, allocations: 0 / 443.9 MB, free: 9.211 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.006092/0.3526, allocations: 2.453 MB / 446.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3526, allocations: 12.03 kB / 446.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000398/0.353, allocations: 303.6 kB / 446.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004772/0.3535, allocations: 239.5 kB / 446.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.356, allocations: 1.227 MB / 448.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.3561, allocations: 156.5 kB / 448.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.3565, allocations: 211.9 kB / 448.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004767/0.3612, allocations: 2.614 MB / 451.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.3613, allocations: 0 / 451.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.3614, allocations: 84 kB / 451.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.26e-05/0.3615, allocations: 56 kB / 451.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003957/0.3655, allocations: 2.089 MB / 453.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/0.379, allocations: 7.208 MB / 460.5 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.3812, allocations: 1.312 MB / 461.8 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.3829, allocations: 0.8853 MB / 462.7 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/0.3829, allocations: 16.94 kB / 462.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3829, allocations: 39.56 kB / 462.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 4.458e-06/0.383, allocations: 0 / 462.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008274/0.3912, allocations: 3.895 MB / 466.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3913, allocations: 64.34 kB / 466.7 MB, free: 1.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.3926, allocations: 0.8641 MB / 467.6 MB, free: 1.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.3926, allocations: 41.7 kB / 467.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007004/0.3933, allocations: 0.8475 MB / 468.5 MB, free: 160 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/0.3936, allocations: 345.1 kB / 468.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/0.3939, allocations: 182.6 kB / 469 MB, free: 15.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3941, allocations: 341.9 kB / 469.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008199/0.3949, allocations: 497.7 kB / 469.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009825/0.3959, allocations: 0.6694 MB / 470.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.3977, allocations: 1.197 MB / 471.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3977, allocations: 4 kB / 471.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002862/0.4006, allocations: 1.617 MB / 473.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4006, allocations: 11.44 kB / 473.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.4006, allocations: 7.938 kB / 473.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.4018, allocations: 474.8 kB / 473.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.4025, allocations: 171.8 kB / 474 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.4125, allocations: 8.888 MB / 482.8 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006884/0.4132, allocations: 47.89 kB / 482.9 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.4133, allocations: 40.06 kB / 482.9 MB, free: 1.074 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.001153/0.4145, allocations: 0.6374 MB / 483.6 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.4147, allocations: 107.3 kB / 483.7 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.4149, allocations: 134 kB / 483.8 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/0.415, allocations: 12 kB / 483.8 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.415, allocations: 480 / 483.8 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.415, allocations: 15.91 kB / 483.8 MB, free: 160 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/0.4215, allocations: 3.449 MB / 487.3 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4215, allocations: 0 / 487.3 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.4221, allocations: 135.8 kB / 487.4 MB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.4231, allocations: 454.9 kB / 487.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.4232, allocations: 24 kB / 487.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009718/0.4329, allocations: 8.785 MB / 496.7 MB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4329, allocations: 4.031 kB / 496.7 MB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/0.4367, allocations: 2.309 MB / 499 MB, free: 444 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/0.4373, allocations: 207.3 kB / 499.2 MB, free: 236 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.4374, allocations: 24 kB / 499.2 MB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/0.4378, allocations: 44.36 kB / 499.3 MB, free: 168 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.4381, allocations: 100.8 kB / 499.4 MB, free: 64 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.4381, allocations: 20 kB / 499.4 MB, free: 44 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008747/0.439, allocations: 0.6084 MB / 500 MB, free: 15.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.439, allocations: 0 / 500 MB, free: 15.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001479/0.4405, allocations: 379.9 kB / 0.4886 GB, free: 15.07 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.004177/0.4447, allocations: 2.888 MB / 0.4914 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002913/0.4476, allocations: 1.769 MB / 0.4932 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4476, allocations: 0 / 0.4932 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.4494, allocations: 1.215 MB / 0.4944 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.4507, allocations: 303.2 kB / 0.4946 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/0.4718, allocations: 12.15 MB / 0.5065 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/0.4736, allocations: 1.722 MB / 0.5082 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005953/0.4742, allocations: 188.9 kB / 0.5084 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007847/0.475, allocations: 0.6165 MB / 0.509 GB, free: 9.742 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.475, allocations: 0 / 0.509 GB, free: 9.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3161/0.7911, allocations: 34.67 MB / 0.5428 GB, free: 110.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.56, allocations: 3.25 kB / 0.5428 GB, free: 110.5 MB / 446.1 MB " [Timeout remaining time 644] (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] Reference file matches [Calling sys.exit(0), Time elapsed: 18.50965883099707]