Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.001855/0.001855, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.002246/0.002246, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2775, allocations: 53.36 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007658/0.2851, allocations: 5.555 MB / 436.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003841/0.289, allocations: 1.651 MB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.2897, allocations: 55.62 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006729/0.2903, allocations: 305.5 kB / 438.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.2919, allocations: 445.2 kB / 439.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.2927, allocations: 363.5 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002616/0.2953, allocations: 2.141 MB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.2974, allocations: 1.399 MB / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.2989, allocations: 1.059 MB / 444 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.3008, allocations: 1.234 MB / 445.3 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004041/0.3012, allocations: 292 kB / 445.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007699/0.302, allocations: 423.7 kB / 446 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006623/0.3027, allocations: 0.7051 MB / 446.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.3038, allocations: 0.9998 MB / 447.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.3078, allocations: 3.651 MB / 451.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3078, allocations: 0 / 451.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3078, allocations: 0 / 451.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.32e-05/0.3079, allocations: 0 / 451.3 MB, free: 2.277 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.004946/0.3128, allocations: 2.468 MB / 453.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.3129, allocations: 8.031 kB / 453.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004221/0.3133, allocations: 303.6 kB / 454.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007121/0.314, allocations: 267.4 kB / 454.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.3165, allocations: 1.254 MB / 455.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.3167, allocations: 156.5 kB / 455.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.317, allocations: 207.9 kB / 456 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00475/0.3217, allocations: 2.643 MB / 458.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.3218, allocations: 0 / 458.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.322, allocations: 84 kB / 458.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.56e-05/0.3221, allocations: 55.94 kB / 458.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.3259, allocations: 2.081 MB / 460.8 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/0.3381, allocations: 6.588 MB / 467.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.34, allocations: 1.311 MB / 468.7 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.3415, allocations: 0.8971 MB / 469.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.243e-05/0.3416, allocations: 9 kB / 469.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.3416, allocations: 51.5 kB / 469.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.647e-06/0.3416, allocations: 4 kB / 469.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.008102/0.3497, allocations: 3.883 MB / 473.6 MB, free: 11.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.3498, allocations: 68.34 kB / 473.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.351, allocations: 0.8875 MB / 474.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/0.3511, allocations: 37.7 kB / 474.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006804/0.3518, allocations: 0.8475 MB / 475.4 MB, free: 9.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.3521, allocations: 345.1 kB / 475.7 MB, free: 9.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/0.3524, allocations: 178.6 kB / 475.9 MB, free: 9.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3526, allocations: 345.9 kB / 476.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000831/0.3534, allocations: 497.7 kB / 476.7 MB, free: 8.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009682/0.3544, allocations: 0.6757 MB / 477.4 MB, free: 7.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.3562, allocations: 1.201 MB / 478.6 MB, free: 6.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3562, allocations: 4 kB / 478.6 MB, free: 6.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002898/0.3591, allocations: 1.613 MB / 480.2 MB, free: 4.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3591, allocations: 4 kB / 480.2 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.3591, allocations: 11.94 kB / 480.2 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3603, allocations: 470.9 kB / 480.7 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.361, allocations: 167.8 kB / 480.9 MB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.371, allocations: 8.82 MB / 489.7 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/0.3719, allocations: 55.83 kB / 489.7 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.372, allocations: 32 kB / 489.8 MB, free: 10.71 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.001347/0.3733, allocations: 0.6459 MB / 490.4 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.3736, allocations: 111.3 kB / 490.5 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.3739, allocations: 134.1 kB / 490.7 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-05/0.3739, allocations: 12.12 kB / 490.7 MB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/0.3739, allocations: 4 kB / 490.7 MB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3739, allocations: 15.91 kB / 490.7 MB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00625/0.3802, allocations: 3.317 MB / 494 MB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.3802, allocations: 0 / 494 MB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.3807, allocations: 127.8 kB / 494.1 MB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.3818, allocations: 447.1 kB / 494.6 MB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.3818, allocations: 23.98 kB / 494.6 MB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00951/0.3913, allocations: 8.732 MB / 0.4915 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3913, allocations: 0 / 0.4915 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003716/0.3951, allocations: 2.301 MB / 0.4938 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006527/0.3957, allocations: 215.3 kB / 0.494 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3958, allocations: 20 kB / 0.494 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/0.3963, allocations: 51.83 kB / 0.4941 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.3965, allocations: 88.83 kB / 0.4941 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.3966, allocations: 20.12 kB / 0.4942 GB, free: 9.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008566/0.3974, allocations: 0.6161 MB / 0.4948 GB, free: 9.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3974, allocations: 0 / 0.4948 GB, free: 9.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001467/0.3989, allocations: 391.9 kB / 0.4951 GB, free: 8.883 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.004024/0.4029, allocations: 2.886 MB / 0.4979 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002913/0.4058, allocations: 1.783 MB / 0.4997 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.4058, allocations: 1.312 kB / 0.4997 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/0.4076, allocations: 1.207 MB / 0.5009 GB, free: 2.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.409, allocations: 299.2 kB / 0.5012 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/0.4288, allocations: 12.19 MB / 0.5131 GB, free: 6.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/0.4304, allocations: 1.138 MB / 0.5142 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006652/0.4311, allocations: 196.8 kB / 0.5144 GB, free: 4.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008515/0.4319, allocations: 0.6243 MB / 0.515 GB, free: 4.086 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4319, allocations: 0 / 0.515 GB, free: 4.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3174/0.7493, allocations: 35.13 MB / 0.5493 GB, free: 99.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.62, allocations: 6.438 kB / 0.5493 GB, free: 99.08 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 17.814371286018286]