Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.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.001456/0.001456, 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.001425/0.001425, allocations: 215 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.385/1.385, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_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.001981/0.001981, allocations: 59.91 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2946, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006692/0.3013, allocations: 5.562 MB / 401.9 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.3054, allocations: 2.079 MB / 404 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.3061, allocations: 21.06 kB / 404 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.3079, allocations: 0.7095 MB / 404.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001745/0.3097, allocations: 0.6095 MB / 405.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3108, allocations: 499.8 kB / 405.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.312, allocations: 1.189 MB / 407 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.3131, allocations: 0.7553 MB / 407.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.3138, allocations: 481.5 kB / 408.2 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007088/0.3145, allocations: 498.5 kB / 408.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.3147, allocations: 115.4 kB / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006383/0.3153, allocations: 260.5 kB / 409.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.3155, allocations: 253.5 kB / 409.3 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.3159, allocations: 462.6 kB / 409.8 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.3176, allocations: 1.475 MB / 411.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3176, allocations: 1.25 kB / 411.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3177, allocations: 0 / 411.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.3177, allocations: 0 / 411.3 MB, free: 15.81 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003713/0.3214, allocations: 1.675 MB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.3214, allocations: 13.48 kB / 413 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002816/0.3217, allocations: 164.5 kB / 413.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.3247, allocations: 479.8 kB / 413.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.3258, allocations: 0.5079 MB / 414.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.3259, allocations: 81.64 kB / 414.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.3261, allocations: 108 kB / 414.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.3283, allocations: 1.156 MB / 415.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.3284, allocations: 1.125 kB / 415.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.3285, allocations: 46.19 kB / 415.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.3285, allocations: 28.62 kB / 415.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.3307, allocations: 0.9188 MB / 416.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00634/0.337, allocations: 3.194 MB / 419.6 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.3392, allocations: 0.9 MB / 420.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.3402, allocations: 411.5 kB / 420.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.946e-05/0.3403, allocations: 16.7 kB / 420.9 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.3415, allocations: 0.601 MB / 421.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 3.035e-06/0.3415, allocations: 0 / 421.5 MB, free: 8.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=86): time 0.0046/0.3461, allocations: 1.5 MB / 423 MB, free: 8.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.3462, allocations: 192.9 kB / 423.2 MB, free: 7.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.3468, allocations: 481.9 kB / 423.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.3469, allocations: 45.7 kB / 423.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/0.3474, allocations: 444.6 kB / 424.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/0.3477, allocations: 301.4 kB / 424.5 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/0.348, allocations: 170.6 kB / 424.6 MB, free: 6.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.3482, allocations: 378.8 kB / 425 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006283/0.3488, allocations: 269.9 kB / 425.3 MB, free: 5.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009089/0.3498, allocations: 0.6165 MB / 425.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.3512, allocations: 0.7992 MB / 426.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3512, allocations: 0 / 426.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002249/0.3534, allocations: 1.064 MB / 427.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.3535, allocations: 11.94 kB / 427.8 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.3535, allocations: 4 kB / 427.8 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009319/0.3544, allocations: 281.7 kB / 428 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.355, allocations: 163.7 kB / 428.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006168/0.3612, allocations: 4.581 MB / 432.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008459/0.362, allocations: 111.4 kB / 432.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.833e-05/0.3621, allocations: 40 kB / 432.9 MB, free: 13.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean1.y,$PRE.iAC.mean1.y,iAC.mean2.y,$PRE.iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005017/0.3626, allocations: 249.7 kB / 433.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.3628, allocations: 79.52 kB / 433.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002203/0.365, allocations: 0.9713 MB / 434.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.365, allocations: 12 kB / 434.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.365, allocations: 3.984 kB / 434.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.365, allocations: 11.86 kB / 434.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.3685, allocations: 1.776 MB / 436 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3685, allocations: 0 / 436 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.3689, allocations: 107.8 kB / 436.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008288/0.3698, allocations: 261.5 kB / 436.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.3698, allocations: 27.92 kB / 436.4 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00596/0.3758, allocations: 4.548 MB / 441 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3758, allocations: 0 / 441 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/0.3787, allocations: 1.381 MB / 442.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.3791, allocations: 139.3 kB / 442.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.3792, allocations: 20 kB / 442.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.3797, allocations: 43.91 kB / 442.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.3799, allocations: 76.86 kB / 442.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.242e-05/0.3799, allocations: 27.98 kB / 442.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004474/0.3804, allocations: 318.9 kB / 443 MB, free: 3.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3804, allocations: 0 / 443 MB, free: 3.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00123/0.3816, allocations: 315.4 kB / 443.3 MB, free: 2.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iDC2.mean.x,iAC.mean2.x,iAC.mean1.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off,iAC.mean2.y,iAC.mean1.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003218/0.3848, allocations: 1.98 MB / 445.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.3873, allocations: 1.073 MB / 446.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3873, allocations: 4.125 kB / 446.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.3887, allocations: 0.7078 MB / 447 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.3896, allocations: 118.2 kB / 447.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.4018, allocations: 6.656 MB / 453.8 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.4024, allocations: 408.5 kB / 454.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004066/0.4028, allocations: 89.64 kB / 454.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.4032, allocations: 331.3 kB / 454.6 MB, free: 7.137 MB / 366.1 MB Notification: Performance of SimCode: time 2.164e-06/0.4032, allocations: 0 / 454.6 MB, free: 7.137 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08742/0.4907, allocations: 20.04 MB / 474.6 MB, free: 3.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.69, allocations: 0 / 474.6 MB, free: 3.012 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.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: 16.755686616990715]