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.001857/0.001857, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002413/0.002413, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001668/0.001668, allocations: 51.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2448, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008257/0.253, allocations: 5.553 MB / 436.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.2568, allocations: 1.655 MB / 438.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009364/0.2578, allocations: 55.69 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.2587, allocations: 305.5 kB / 438.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.2603, allocations: 449.2 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007802/0.2611, allocations: 351.5 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.2634, allocations: 2.145 MB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.2652, allocations: 1.345 MB / 442.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.2664, allocations: 1.059 MB / 444 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.268, allocations: 1.187 MB / 445.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.2684, allocations: 292 kB / 445.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006812/0.269, allocations: 403.7 kB / 445.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006411/0.2697, allocations: 0.7013 MB / 446.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.2707, allocations: 1.004 MB / 447.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003707/0.2745, allocations: 3.651 MB / 451.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2745, allocations: 0 / 451.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.2745, allocations: 0 / 451.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.615e-05/0.2745, allocations: 0 / 451.2 MB, free: 2.398 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.00455/0.2791, allocations: 2.464 MB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2791, allocations: 8.031 kB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003857/0.2795, allocations: 303.7 kB / 454 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006464/0.2801, allocations: 263.5 kB / 454.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.2825, allocations: 1.258 MB / 455.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.2827, allocations: 152.5 kB / 455.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.283, allocations: 211.9 kB / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004357/0.2873, allocations: 2.635 MB / 458.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.2874, allocations: 0 / 458.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.2876, allocations: 92 kB / 458.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-05/0.2876, allocations: 52 kB / 458.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003571/0.2912, allocations: 2.085 MB / 460.7 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.3023, allocations: 6.604 MB / 467.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.3043, allocations: 1.308 MB / 468.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.3058, allocations: 0.8894 MB / 469.5 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.3059, allocations: 13 kB / 469.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.3059, allocations: 43.56 kB / 469.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.406e-06/0.3059, allocations: 0 / 469.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007962/0.3139, allocations: 3.887 MB / 473.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.3139, allocations: 68.28 kB / 473.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.3151, allocations: 0.8797 MB / 474.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.3152, allocations: 45.69 kB / 474.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.3158, allocations: 0.8475 MB / 475.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.3161, allocations: 345.1 kB / 475.6 MB, free: 9.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.3164, allocations: 178.6 kB / 475.8 MB, free: 9.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3166, allocations: 345.9 kB / 476.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008031/0.3174, allocations: 497.7 kB / 476.6 MB, free: 8.492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.3183, allocations: 0.6655 MB / 477.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.3202, allocations: 1.205 MB / 478.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3202, allocations: 0 / 478.5 MB, free: 6.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002748/0.3229, allocations: 1.621 MB / 480.1 MB, free: 4.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3229, allocations: 10.19 kB / 480.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.323, allocations: 7.938 kB / 480.1 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.324, allocations: 463 kB / 480.6 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.3247, allocations: 175.7 kB / 480.7 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009528/0.3342, allocations: 8.828 MB / 489.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.3348, allocations: 51.89 kB / 489.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-05/0.3349, allocations: 36 kB / 489.7 MB, free: 10.82 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.00104/0.3359, allocations: 0.6458 MB / 490.3 MB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.3361, allocations: 107.3 kB / 490.4 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.3364, allocations: 138.1 kB / 490.5 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/0.3364, allocations: 8 kB / 490.6 MB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.3364, allocations: 4 kB / 490.6 MB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.3364, allocations: 11.91 kB / 490.6 MB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005927/0.3423, allocations: 3.305 MB / 493.9 MB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3424, allocations: 8.062 kB / 493.9 MB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.3429, allocations: 123.8 kB / 494 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009984/0.3439, allocations: 459 kB / 494.5 MB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.795e-05/0.344, allocations: 24 kB / 494.5 MB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009307/0.3533, allocations: 8.728 MB / 0.4914 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3533, allocations: 0 / 0.4914 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.357, allocations: 2.301 MB / 0.4937 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006715/0.3577, allocations: 215.4 kB / 0.4939 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.3578, allocations: 20 kB / 0.4939 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.3582, allocations: 43.89 kB / 0.4939 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.3585, allocations: 88.83 kB / 0.494 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.3585, allocations: 23.98 kB / 0.494 GB, free: 10 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008892/0.3594, allocations: 0.6238 MB / 0.4946 GB, free: 9.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3594, allocations: 0 / 0.4946 GB, free: 9.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00143/0.3608, allocations: 379.9 kB / 0.495 GB, free: 9.012 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.004217/0.3651, allocations: 2.886 MB / 0.4978 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003001/0.3681, allocations: 1.78 MB / 0.4996 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3681, allocations: 0 / 0.4996 GB, free: 4.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.3699, allocations: 1.212 MB / 0.5007 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.3714, allocations: 307.3 kB / 0.501 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/0.3903, allocations: 12.18 MB / 0.5129 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.3916, allocations: 1.142 MB / 0.514 GB, free: 5.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005663/0.3922, allocations: 196.8 kB / 0.5142 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/0.393, allocations: 0.6165 MB / 0.5148 GB, free: 4.211 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.393, allocations: 0 / 0.5148 GB, free: 4.211 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2734/0.6664, allocations: 34.79 MB / 0.5488 GB, free: 99.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.65, allocations: 2.062 kB / 0.5488 GB, free: 99.67 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.830770947039127]