Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001896/0.001896, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002371/0.002371, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002865/0.002865, allocations: 55.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.334, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005975/0.34, allocations: 5.49 MB / 401.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.3431, allocations: 1.651 MB / 403.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004848/0.3435, allocations: 51.59 kB / 403.5 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.3441, allocations: 306.7 kB / 403.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.3453, allocations: 445.7 kB / 404.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.3459, allocations: 348.5 kB / 404.6 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.3478, allocations: 2.153 MB / 406.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.3493, allocations: 1.313 MB / 408.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.3505, allocations: 1.048 MB / 409.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.3521, allocations: 1.177 MB / 410.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004031/0.3525, allocations: 290.9 kB / 410.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007851/0.3533, allocations: 410.2 kB / 411 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.3538, allocations: 0.6999 MB / 411.7 MB, free: 20 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.355, allocations: 1.004 MB / 412.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.3589, allocations: 3.641 MB / 416.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3589, allocations: 1.219 kB / 416.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3589, allocations: 0 / 416.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.29e-05/0.359, allocations: 0 / 416.3 MB, free: 12.66 MB / 334.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.005756/0.3648, allocations: 2.449 MB / 418.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3648, allocations: 13.67 kB / 418.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004276/0.3652, allocations: 297.8 kB / 419.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004991/0.3657, allocations: 242 kB / 419.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.3683, allocations: 1.135 MB / 420.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.3684, allocations: 152.8 kB / 420.6 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/0.3688, allocations: 205.4 kB / 420.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/0.3735, allocations: 2.644 MB / 423.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/0.3736, allocations: 4 kB / 423.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.3738, allocations: 84 kB / 423.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.952e-05/0.3739, allocations: 55.98 kB / 423.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.3775, allocations: 2.081 MB / 425.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/0.3895, allocations: 6.612 MB / 432.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.3916, allocations: 1.3 MB / 433.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.3931, allocations: 0.8971 MB / 434.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.03e-05/0.3932, allocations: 9 kB / 434.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.3932, allocations: 43.56 kB / 434.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.637e-06/0.3932, allocations: 0 / 434.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.008071/0.4013, allocations: 3.891 MB / 438.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.4014, allocations: 64.34 kB / 438.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.4026, allocations: 0.8718 MB / 439.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/0.4027, allocations: 41.7 kB / 439.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/0.4033, allocations: 0.8475 MB / 440.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.4036, allocations: 349 kB / 440.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.4039, allocations: 182.6 kB / 440.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4041, allocations: 345.9 kB / 441.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/0.4049, allocations: 493.7 kB / 441.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009526/0.4059, allocations: 0.6772 MB / 442.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.4076, allocations: 1.201 MB / 443.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4076, allocations: 0 / 443.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002706/0.4103, allocations: 1.609 MB / 445.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4103, allocations: 8 kB / 445.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.4104, allocations: 8.219 kB / 445.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.4114, allocations: 470.9 kB / 445.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.4121, allocations: 171.8 kB / 445.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009498/0.4216, allocations: 8.824 MB / 454.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.4224, allocations: 43.97 kB / 454.6 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.874e-05/0.4225, allocations: 39.98 kB / 454.6 MB, free: 7.656 MB / 366.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.001131/0.4236, allocations: 0.6533 MB / 455.3 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.4238, allocations: 103.3 kB / 455.4 MB, free: 6.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.4241, allocations: 138 kB / 455.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/0.4241, allocations: 12 kB / 455.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.4241, allocations: 64 / 455.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4242, allocations: 7.984 kB / 455.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006067/0.4302, allocations: 3.325 MB / 458.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.4302, allocations: 0 / 458.9 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.4308, allocations: 123.8 kB / 459 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009773/0.4318, allocations: 455.3 kB / 459.4 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.4318, allocations: 23.94 kB / 459.4 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009587/0.4414, allocations: 8.734 MB / 468.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4414, allocations: 0 / 468.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.445, allocations: 2.297 MB / 470.5 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006998/0.4457, allocations: 215.3 kB / 470.7 MB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.4459, allocations: 16 kB / 470.7 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.4463, allocations: 47.95 kB / 470.8 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.4465, allocations: 100.7 kB / 470.9 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.4466, allocations: 24 kB / 470.9 MB, free: 6.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008746/0.4475, allocations: 0.6044 MB / 471.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4475, allocations: 480 / 471.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001499/0.449, allocations: 379.9 kB / 471.9 MB, free: 5.836 MB / 382.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.004043/0.453, allocations: 2.884 MB / 474.7 MB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002961/0.456, allocations: 1.788 MB / 476.5 MB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.456, allocations: 0 / 476.5 MB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.4578, allocations: 1.208 MB / 477.7 MB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.4592, allocations: 291.2 kB / 478 MB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/0.4783, allocations: 12.16 MB / 490.2 MB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.4797, allocations: 1.134 MB / 491.3 MB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006111/0.4803, allocations: 188.9 kB / 491.5 MB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007924/0.4811, allocations: 0.6203 MB / 492.1 MB, free: 1.066 MB / 398.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4811, allocations: 0 / 492.1 MB, free: 1.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08604/0.5671, allocations: 34.74 MB / 0.5145 GB, free: 14.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.56, allocations: 15.84 kB / 0.5145 GB, free: 14.18 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.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_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.676380448043346]