Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.001273/0.001273, allocations: 115.6 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.001413/0.001413, allocations: 213.4 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.183/0.183, allocations: 38.54 MB / 352.5 MB, free: 12.59 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) 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(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Rectifier,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 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.002108/0.002108, allocations: 66.56 kB / 492.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3554, allocations: 62.46 MB / 0.542 GB, free: 476 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009106/0.3645, allocations: 6.976 MB / 0.5488 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004204/0.3687, allocations: 2.205 MB / 0.551 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006727/0.3693, allocations: 34.56 kB / 0.551 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.3711, allocations: 0.5324 MB / 0.5515 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.3725, allocations: 0.5535 MB / 0.5521 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000975/0.3735, allocations: 379.3 kB / 0.5524 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.3752, allocations: 1.309 MB / 0.5537 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000917/0.3761, allocations: 0.5403 MB / 0.5542 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.3772, allocations: 0.5611 MB / 0.5548 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/0.3784, allocations: 0.7356 MB / 0.5555 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.3786, allocations: 98.62 kB / 0.5556 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.3797, allocations: 0.5447 MB / 0.5561 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00056/0.3803, allocations: 477 kB / 0.5566 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.3809, allocations: 0.525 MB / 0.5571 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.3827, allocations: 1.483 MB / 0.5585 GB, free: 3.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3827, allocations: 0 / 0.5585 GB, free: 3.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3827, allocations: 0 / 0.5585 GB, free: 3.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.3827, allocations: 0 / 0.5585 GB, free: 3.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002861/0.3856, allocations: 1.289 MB / 0.5598 GB, free: 2.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3856, allocations: 11.98 kB / 0.5598 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.3858, allocations: 147.7 kB / 0.56 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008446/0.3867, allocations: 188.2 kB / 0.5601 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.388, allocations: 0.6174 MB / 0.5607 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.3884, allocations: 329.6 kB / 0.561 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.3886, allocations: 91.97 kB / 0.5611 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.3909, allocations: 1.366 MB / 0.5625 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.3909, allocations: 3.938 kB / 0.5625 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.391, allocations: 39.92 kB / 0.5625 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.3911, allocations: 61.97 kB / 0.5626 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.3936, allocations: 1.292 MB / 0.5638 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007538/0.4011, allocations: 4.836 MB / 0.5686 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.4033, allocations: 1.018 MB / 0.5696 GB, free: 7.949 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.4043, allocations: 0.5814 MB / 0.5701 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.1e-05/0.4044, allocations: 12.64 kB / 0.5701 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4044, allocations: 35.22 kB / 0.5702 GB, free: 7.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/0.4044, allocations: 0 / 0.5702 GB, free: 7.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=73): time 0.005834/0.4103, allocations: 2.972 MB / 0.5731 GB, free: 4.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.4103, allocations: 85.8 kB / 0.5731 GB, free: 4.195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/0.4109, allocations: 469.9 kB / 0.5736 GB, free: 3.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.4109, allocations: 37.7 kB / 0.5736 GB, free: 3.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.4112, allocations: 404.3 kB / 0.574 GB, free: 3.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.4115, allocations: 269.7 kB / 0.5743 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.4117, allocations: 146.6 kB / 0.5744 GB, free: 2.867 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4119, allocations: 374.8 kB / 0.5748 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009326/0.4128, allocations: 0.4977 MB / 0.5753 GB, free: 1.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.4139, allocations: 0.6834 MB / 0.5759 GB, free: 1.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.416, allocations: 1.216 MB / 0.5771 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.416, allocations: 0 / 0.5771 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004379/0.4203, allocations: 1.892 MB / 0.579 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4204, allocations: 19.88 kB / 0.579 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003836/0.4242, allocations: 1.627 MB / 0.5806 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.4261, allocations: 0.6572 MB / 0.5812 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.4267, allocations: 151.8 kB / 0.5814 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.4385, allocations: 7.209 MB / 0.5884 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/0.4392, allocations: 75.91 kB / 0.5885 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.288e-05/0.4393, allocations: 31.98 kB / 0.5885 GB, free: 4.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005093/0.4398, allocations: 305.7 kB / 0.5888 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.44, allocations: 63.58 kB / 0.5888 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.4423, allocations: 1.226 MB / 0.59 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.4423, allocations: 12 kB / 0.5901 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4423, allocations: 0 / 0.5901 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.4423, allocations: 3.984 kB / 0.5901 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.4464, allocations: 2.306 MB / 0.5923 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.4464, allocations: 0 / 0.5923 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/0.4489, allocations: 0.4994 MB / 0.5928 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.449, allocations: 28.84 kB / 0.5928 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.4491, allocations: 20.08 kB / 0.5928 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.4504, allocations: 1.53 MB / 0.5943 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4504, allocations: 0 / 0.5943 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.4537, allocations: 1.943 MB / 0.5962 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4539, allocations: 59.56 kB / 0.5963 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.454, allocations: 16 kB / 0.5963 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.4545, allocations: 63.91 kB / 0.5964 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.4546, allocations: 60.55 kB / 0.5964 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.4547, allocations: 23.92 kB / 0.5965 GB, free: 11.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000401/0.4551, allocations: 314.9 kB / 0.5968 GB, free: 11.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4551, allocations: 7.938 kB / 0.5968 GB, free: 11.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009296/0.456, allocations: 239.9 kB / 0.597 GB, free: 11.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003838/0.4599, allocations: 2.499 MB / 0.5994 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003057/0.4629, allocations: 1.509 MB / 0.6009 GB, free: 7.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4629, allocations: 8.062 kB / 0.6009 GB, free: 7.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.4656, allocations: 0.9627 MB / 0.6019 GB, free: 6.039 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.4666, allocations: 155.8 kB / 0.602 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.4838, allocations: 9.307 MB / 0.6111 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.4846, allocations: 1.075 MB / 0.6121 GB, free: 11.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005891/0.4852, allocations: 205.5 kB / 0.6123 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/0.4857, allocations: 291.3 kB / 0.6126 GB, free: 10.71 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4857, allocations: 3.938 kB / 0.6126 GB, free: 10.71 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06575/0.5515, allocations: 21.23 MB / 0.6334 GB, free: 5.668 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.47, allocations: 15.84 kB / 0.6334 GB, free: 5.652 MB / 478.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Rectifier.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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: 17.971461060922593]