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.001381/0.001381, allocations: 115.8 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.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.001979/0.001979, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.001728/0.001728, allocations: 55.91 kB / 377.8 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2738, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007942/0.2818, allocations: 6.305 MB / 437.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.2856, allocations: 1.71 MB / 439.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.2868, allocations: 51.69 kB / 439.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.2878, allocations: 309.5 kB / 439.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.2898, allocations: 449.2 kB / 439.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.2909, allocations: 347.6 kB / 440.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.2936, allocations: 2.149 MB / 442.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.2955, allocations: 1.403 MB / 443.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.2971, allocations: 1.055 MB / 444.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.2991, allocations: 1.237 MB / 446.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.2995, allocations: 288 kB / 446.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009144/0.3004, allocations: 479.6 kB / 446.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007676/0.3012, allocations: 0.7012 MB / 447.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.3029, allocations: 1.241 MB / 448.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.307, allocations: 3.644 MB / 452.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.307, allocations: 0 / 452.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.307, allocations: 0 / 452.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.941e-05/0.307, allocations: 0 / 452.5 MB, free: 1.391 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.004608/0.3117, allocations: 2.46 MB / 454.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.3117, allocations: 8.031 kB / 454.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003816/0.3121, allocations: 299.7 kB / 455.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007167/0.3128, allocations: 267.4 kB / 455.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.315, allocations: 1.258 MB / 456.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.3151, allocations: 152.5 kB / 456.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.3154, allocations: 215.9 kB / 457.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/0.3197, allocations: 2.614 MB / 459.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.3197, allocations: 0 / 459.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.3199, allocations: 84 kB / 459.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-05/0.3199, allocations: 55.98 kB / 459.9 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003488/0.3234, allocations: 2.093 MB / 461.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.3349, allocations: 7.2 MB / 469.1 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.3369, allocations: 1.297 MB / 470.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/0.3384, allocations: 0.9088 MB / 471.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/0.3385, allocations: 9 kB / 471.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.3385, allocations: 39.56 kB / 471.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.557e-06/0.3385, allocations: 0 / 471.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.007915/0.3465, allocations: 3.895 MB / 475.3 MB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.3465, allocations: 68.28 kB / 475.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.3477, allocations: 0.872 MB / 476.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.965e-05/0.3477, allocations: 41.7 kB / 476.3 MB, free: 9.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005938/0.3483, allocations: 0.8553 MB / 477.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000267/0.3486, allocations: 341.1 kB / 477.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.3489, allocations: 182.6 kB / 477.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.349, allocations: 345.9 kB / 478 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/0.3498, allocations: 497.7 kB / 478.5 MB, free: 6.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009612/0.3508, allocations: 0.6655 MB / 479.1 MB, free: 6.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.3526, allocations: 1.205 MB / 480.3 MB, free: 4.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3526, allocations: 4 kB / 480.3 MB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002729/0.3553, allocations: 1.617 MB / 482 MB, free: 3.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3553, allocations: 8 kB / 482 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.3553, allocations: 7.938 kB / 482 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.3564, allocations: 475 kB / 482.4 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.3571, allocations: 171.7 kB / 482.6 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009757/0.3668, allocations: 8.879 MB / 491.5 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/0.3674, allocations: 51.89 kB / 491.5 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.3675, allocations: 32 kB / 491.6 MB, free: 9.184 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.001107/0.3686, allocations: 0.6396 MB / 492.2 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.3688, allocations: 107.3 kB / 492.3 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.3691, allocations: 142.1 kB / 492.4 MB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.3692, allocations: 8 kB / 492.5 MB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.3692, allocations: 7.984 kB / 492.5 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.3692, allocations: 7.922 kB / 492.5 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00603/0.3752, allocations: 3.457 MB / 495.9 MB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.3752, allocations: 0 / 495.9 MB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.3758, allocations: 123.8 kB / 496 MB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009923/0.3768, allocations: 451 kB / 496.5 MB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.3768, allocations: 24 kB / 496.5 MB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009446/0.3863, allocations: 8.79 MB / 0.4935 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3863, allocations: 4.031 kB / 0.4935 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.3902, allocations: 2.305 MB / 0.4957 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006357/0.3908, allocations: 211.3 kB / 0.4959 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.391, allocations: 16 kB / 0.4959 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.3915, allocations: 47.89 kB / 0.496 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.3918, allocations: 84.83 kB / 0.4961 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.3918, allocations: 31.98 kB / 0.4961 GB, free: 8.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001001/0.3928, allocations: 0.616 MB / 0.4967 GB, free: 7.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3928, allocations: 0 / 0.4967 GB, free: 7.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001668/0.3945, allocations: 379.9 kB / 0.4971 GB, free: 7.176 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.004276/0.3988, allocations: 2.9 MB / 0.4999 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.4018, allocations: 1.78 MB / 0.5016 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4018, allocations: 0 / 0.5016 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.4037, allocations: 1.208 MB / 0.5028 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.4052, allocations: 307.1 kB / 0.5031 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/0.4264, allocations: 12.19 MB / 0.515 GB, free: 4.359 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/0.4284, allocations: 1.722 MB / 0.5167 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005505/0.4289, allocations: 196.8 kB / 0.5169 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008329/0.4298, allocations: 0.6165 MB / 0.5175 GB, free: 1.793 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4298, allocations: 0 / 0.5175 GB, free: 1.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2903/0.7201, allocations: 34.72 MB / 0.5514 GB, free: 96.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/15.93, allocations: 7.984 kB / 0.5514 GB, free: 96.79 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 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.mat","/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.8312471578829]