Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.001422/0.001422, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001493/0.001493, allocations: 210.7 kB / 23.73 MB, free: 4.387 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1846/0.1846, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor",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.002102/0.002102, allocations: 67.91 kB / 492.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3964, allocations: 62.47 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.007928/0.4043, allocations: 3.992 MB / 0.5458 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.4065, allocations: 0.8581 MB / 0.5467 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002795/0.4068, allocations: 19.81 kB / 0.5467 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.4071, allocations: 52.06 kB / 0.5468 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006879/0.4078, allocations: 184.7 kB / 0.5469 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.4081, allocations: 87.67 kB / 0.547 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005859/0.4086, allocations: 411.5 kB / 0.5474 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.4089, allocations: 74.97 kB / 0.5475 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004028/0.4093, allocations: 194.1 kB / 0.5477 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.4097, allocations: 204.5 kB / 0.5479 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.4098, allocations: 21.44 kB / 0.5479 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-05/0.4098, allocations: 23.97 kB / 0.5479 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.4101, allocations: 111.8 kB / 0.548 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.4102, allocations: 122.9 kB / 0.5481 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.4107, allocations: 311.9 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4107, allocations: 1.125 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4107, allocations: 3.938 kB / 0.5484 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.4107, allocations: 0 / 0.5484 GB, free: 11.39 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001358/0.4121, allocations: 0.5644 MB / 0.549 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/0.4121, allocations: 13.52 kB / 0.549 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.79e-05/0.4122, allocations: 66.88 kB / 0.5491 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.4123, allocations: 32.41 kB / 0.5491 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.4129, allocations: 279.7 kB / 0.5493 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.413, allocations: 17.91 kB / 0.5494 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.413, allocations: 26.41 kB / 0.5494 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.4136, allocations: 316.2 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4136, allocations: 0 / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.4137, allocations: 10.69 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.4137, allocations: 6.625 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.4141, allocations: 222.8 kB / 0.5499 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.416, allocations: 1.257 MB / 0.5511 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.4164, allocations: 139.7 kB / 0.5513 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4165, allocations: 56.97 kB / 0.5513 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4165, allocations: 2.969 kB / 0.5513 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.4166, allocations: 43.77 kB / 0.5514 GB, free: 8.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.4166, allocations: 1.312 kB / 0.5514 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009204/0.4175, allocations: 363.5 kB / 0.5517 GB, free: 8.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.4176, allocations: 84.2 kB / 0.5518 GB, free: 8.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.418, allocations: 269.8 kB / 0.5521 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.418, allocations: 25.83 kB / 0.5521 GB, free: 8.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.4182, allocations: 210.4 kB / 0.5523 GB, free: 8.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.4182, allocations: 49.34 kB / 0.5523 GB, free: 8.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.4183, allocations: 45.59 kB / 0.5524 GB, free: 8.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4185, allocations: 340.9 kB / 0.5527 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.4186, allocations: 56.3 kB / 0.5528 GB, free: 7.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.4188, allocations: 149.7 kB / 0.5529 GB, free: 7.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.4191, allocations: 232.5 kB / 0.5531 GB, free: 7.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4191, allocations: 1.375 kB / 0.5531 GB, free: 7.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004104/0.4196, allocations: 245.2 kB / 0.5534 GB, free: 7.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4196, allocations: 6.188 kB / 0.5534 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.4196, allocations: 3.406 kB / 0.5534 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4196, allocations: 5.688 kB / 0.5534 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.4198, allocations: 52.16 kB / 0.5534 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.4198, allocations: 12.83 kB / 0.5534 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.4199, allocations: 8.531 kB / 0.5534 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.42, allocations: 16.94 kB / 0.5535 GB, free: 7.211 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.4201, allocations: 159.6 kB / 0.5536 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.4202, allocations: 27.03 kB / 0.5536 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.4206, allocations: 199.8 kB / 0.5538 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4206, allocations: 2.406 kB / 0.5538 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4206, allocations: 0 / 0.5538 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.4206, allocations: 5.203 kB / 0.5538 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.4214, allocations: 0.5063 MB / 0.5543 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4214, allocations: 4.031 kB / 0.5543 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.4216, allocations: 26.52 kB / 0.5544 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.4216, allocations: 2.781 kB / 0.5544 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.4216, allocations: 12.8 kB / 0.5544 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.4216, allocations: 9.125 kB / 0.5544 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4216, allocations: 1.094 kB / 0.5544 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.422, allocations: 294.7 kB / 0.5547 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.4221, allocations: 27.5 kB / 0.5547 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.4221, allocations: 5.125 kB / 0.5547 GB, free: 6.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4223, allocations: 6.125 kB / 0.5547 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.4223, allocations: 16.39 kB / 0.5547 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4223, allocations: 8.266 kB / 0.5547 GB, free: 6.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.4226, allocations: 188.9 kB / 0.5549 GB, free: 6.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4226, allocations: 0 / 0.5549 GB, free: 6.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.4229, allocations: 48.88 kB / 0.555 GB, free: 6.074 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007907/0.4237, allocations: 0.8211 MB / 0.5558 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.4241, allocations: 157.5 kB / 0.5559 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4241, allocations: 4.062 kB / 0.5559 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.4242, allocations: 65.91 kB / 0.556 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.4247, allocations: 56.08 kB / 0.556 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.4281, allocations: 2.553 MB / 0.5585 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.4283, allocations: 182.1 kB / 0.5587 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001556/0.4284, allocations: 46.25 kB / 0.5587 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.4286, allocations: 91.41 kB / 0.5588 GB, free: 2.277 MB / 398.1 MB Notification: Performance of SimCode: time 5.2e-07/0.4286, allocations: 0 / 0.5588 GB, free: 2.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03658/0.4651, allocations: 5.657 MB / 0.5643 GB, free: 12.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.66, allocations: 3.938 kB / 0.5644 GB, free: 12.78 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Sensor.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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: 14.578395694959909]