Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001855/0.001855, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 214.3 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 59.89 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2559, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008269/0.2641, allocations: 6.32 MB / 437.5 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003653/0.2678, allocations: 1.713 MB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009645/0.2687, allocations: 51.69 kB / 439.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007757/0.2695, allocations: 313.5 kB / 439.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.2712, allocations: 445.2 kB / 440 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.2721, allocations: 359.5 kB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.2748, allocations: 2.164 MB / 442.5 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.2767, allocations: 1.404 MB / 443.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.2781, allocations: 1.071 MB / 445 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.2797, allocations: 1.245 MB / 446.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.2801, allocations: 295.9 kB / 446.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007044/0.2808, allocations: 475.6 kB / 447 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006148/0.2814, allocations: 0.7052 MB / 447.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2826, allocations: 1.237 MB / 448.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.2863, allocations: 3.647 MB / 452.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2863, allocations: 0 / 452.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2864, allocations: 0 / 452.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.389e-05/0.2864, allocations: 0 / 452.6 MB, free: 1.16 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.004864/0.2913, allocations: 2.472 MB / 455.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.2913, allocations: 8.031 kB / 455.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003795/0.2917, allocations: 303.7 kB / 455.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000688/0.2924, allocations: 275.4 kB / 455.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/0.2947, allocations: 1.254 MB / 456.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2949, allocations: 156.5 kB / 457 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.2951, allocations: 203.9 kB / 457.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004267/0.2994, allocations: 2.638 MB / 459.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.2994, allocations: 0 / 459.9 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.2996, allocations: 80 kB / 460 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.2997, allocations: 76.12 kB / 460 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/0.3033, allocations: 2.097 MB / 462.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.3149, allocations: 7.378 MB / 469.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.3168, allocations: 1.3 MB / 470.8 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.3183, allocations: 0.8894 MB / 471.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.629e-05/0.3184, allocations: 16.92 kB / 471.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.3184, allocations: 47.56 kB / 471.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/0.3184, allocations: 0 / 471.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007685/0.3261, allocations: 3.895 MB / 475.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.3261, allocations: 60.41 kB / 475.7 MB, free: 9.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.3274, allocations: 0.872 MB / 476.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.3274, allocations: 41.7 kB / 476.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/0.3281, allocations: 0.8669 MB / 477.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.3284, allocations: 333.1 kB / 477.8 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.3286, allocations: 178.6 kB / 478 MB, free: 7.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3288, allocations: 345.9 kB / 478.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000784/0.3296, allocations: 497.7 kB / 478.8 MB, free: 6.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009649/0.3306, allocations: 0.6771 MB / 479.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.3323, allocations: 1.201 MB / 480.7 MB, free: 4.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3323, allocations: 0 / 480.7 MB, free: 4.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002728/0.335, allocations: 1.62 MB / 482.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3351, allocations: 12.19 kB / 482.3 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.3351, allocations: 7.984 kB / 482.3 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.3362, allocations: 470.9 kB / 482.8 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.3368, allocations: 175.8 kB / 483 MB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009811/0.3466, allocations: 8.875 MB / 491.8 MB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.3474, allocations: 47.95 kB / 491.9 MB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.3475, allocations: 36 kB / 491.9 MB, free: 8.68 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.001282/0.3488, allocations: 0.6449 MB / 492.6 MB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.349, allocations: 111.3 kB / 492.7 MB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3493, allocations: 134.2 kB / 492.8 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/0.3493, allocations: 15.94 kB / 492.8 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.3493, allocations: 3.938 kB / 492.8 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.3494, allocations: 11.97 kB / 492.8 MB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006847/0.3562, allocations: 3.454 MB / 496.3 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.3562, allocations: 0 / 496.3 MB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.3567, allocations: 127.8 kB / 496.4 MB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009772/0.3577, allocations: 459 kB / 496.9 MB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.3578, allocations: 16 kB / 496.9 MB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009559/0.3673, allocations: 8.798 MB / 0.4938 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3673, allocations: 96 / 0.4938 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.3714, allocations: 2.301 MB / 0.4961 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/0.372, allocations: 207.3 kB / 0.4963 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.3722, allocations: 19.94 kB / 0.4963 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/0.3726, allocations: 47.95 kB / 0.4963 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.3729, allocations: 92.77 kB / 0.4964 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/0.3729, allocations: 27.98 kB / 0.4964 GB, free: 7.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008928/0.3738, allocations: 0.6083 MB / 0.497 GB, free: 7.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3738, allocations: 0 / 0.497 GB, free: 7.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001527/0.3753, allocations: 384 kB / 0.4974 GB, free: 6.664 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.004236/0.3796, allocations: 2.895 MB / 0.5002 GB, free: 3.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.3825, allocations: 1.78 MB / 0.502 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.3825, allocations: 0 / 0.502 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.3843, allocations: 1.207 MB / 0.5032 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.3857, allocations: 305.7 kB / 0.5034 GB, free: 344 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01917/0.4049, allocations: 12.21 MB / 0.5154 GB, free: 3.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.4065, allocations: 1.722 MB / 0.5171 GB, free: 2.078 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000559/0.4071, allocations: 192.9 kB / 0.5172 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/0.4078, allocations: 0.6243 MB / 0.5178 GB, free: 1.262 MB / 430.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4078, allocations: 4 kB / 0.5178 GB, free: 1.258 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3111/0.7189, allocations: 34.75 MB / 0.5518 GB, free: 95.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.27, allocations: 0 / 0.5518 GB, free: 95.63 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.23485289400196]