Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.001399/0.001399, allocations: 113 kB / 18.49 MB, free: 4.539 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.001904/0.001904, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.495/1.495, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.1946/0.1946, allocations: 38.51 MB / 349.4 MB, free: 2.602 MB / 270.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.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="cs",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.003025/0.003025, allocations: 67.89 kB / 487.8 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1254, allocations: 62.42 MB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006985/0.1324, allocations: 4.566 MB / 0.5418 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.1353, allocations: 1.457 MB / 0.5432 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.1355, allocations: 19.81 kB / 0.5433 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.1366, allocations: 298.6 kB / 0.5435 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009396/0.1376, allocations: 286.6 kB / 0.5438 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.1382, allocations: 255.4 kB / 0.5441 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008043/0.139, allocations: 0.6586 MB / 0.5447 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.1395, allocations: 204.1 kB / 0.5449 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.14, allocations: 310.9 kB / 0.5452 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.1407, allocations: 442.7 kB / 0.5456 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-05/0.1408, allocations: 44 kB / 0.5457 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.1412, allocations: 235.6 kB / 0.5459 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002815/0.1415, allocations: 251.3 kB / 0.5461 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.1419, allocations: 294.5 kB / 0.5464 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009433/0.1428, allocations: 0.7511 MB / 0.5471 GB, free: 13.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1428, allocations: 0 / 0.5471 GB, free: 13.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1428, allocations: 4 kB / 0.5471 GB, free: 13.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1428, allocations: 0 / 0.5471 GB, free: 13.49 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001815/0.1446, allocations: 0.9032 MB / 0.548 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1447, allocations: 8.031 kB / 0.548 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.297e-05/0.1447, allocations: 17.17 kB / 0.548 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.1448, allocations: 94.7 kB / 0.5481 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.1459, allocations: 132.4 kB / 0.5483 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.1469, allocations: 440.1 kB / 0.5487 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.147, allocations: 33.12 kB / 0.5487 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.1471, allocations: 39.98 kB / 0.5488 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.1491, allocations: 0.8629 MB / 0.5496 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.1492, allocations: 0 / 0.5496 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.932e-05/0.1493, allocations: 23.94 kB / 0.5496 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.1495, allocations: 60.94 kB / 0.5497 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.1514, allocations: 0.7924 MB / 0.5505 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006035/0.1574, allocations: 2.714 MB / 0.5531 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.1588, allocations: 0.4899 MB / 0.5536 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008188/0.1596, allocations: 366.7 kB / 0.5539 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.099e-05/0.1596, allocations: 7.984 kB / 0.5539 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/0.1597, allocations: 30.56 kB / 0.554 GB, free: 6.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 4.328e-06/0.1597, allocations: 3.938 kB / 0.554 GB, free: 6.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.004858/0.1646, allocations: 1.896 MB / 0.5558 GB, free: 4.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.1647, allocations: 146.8 kB / 0.556 GB, free: 4.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.1652, allocations: 296.4 kB / 0.5562 GB, free: 3.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.1653, allocations: 33.7 kB / 0.5563 GB, free: 3.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.1655, allocations: 260.9 kB / 0.5565 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.1658, allocations: 198.3 kB / 0.5567 GB, free: 3.277 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.1661, allocations: 98.06 kB / 0.5568 GB, free: 3.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002567/0.1663, allocations: 366.8 kB / 0.5572 GB, free: 2.809 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.1671, allocations: 336.9 kB / 0.5575 GB, free: 2.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.1681, allocations: 489.7 kB / 0.5579 GB, free: 1.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.1704, allocations: 0.9798 MB / 0.5589 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.1704, allocations: 0 / 0.5589 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00288/0.1733, allocations: 0.9846 MB / 0.5599 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.1734, allocations: 73.66 kB / 0.5599 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.1734, allocations: 4 kB / 0.5599 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.1737, allocations: 44.83 kB / 0.56 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007094/0.1744, allocations: 84.36 kB / 0.5601 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.177, allocations: 1.547 MB / 0.5616 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.1777, allocations: 43.8 kB / 0.5616 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.1778, allocations: 24 kB / 0.5616 GB, free: 13.93 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006724/0.1784, allocations: 299.2 kB / 0.5619 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.1787, allocations: 47.7 kB / 0.562 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.1816, allocations: 1.08 MB / 0.563 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.093e-05/0.1817, allocations: 12 kB / 0.563 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1817, allocations: 0 / 0.563 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.1817, allocations: 3.984 kB / 0.563 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.1866, allocations: 1.8 MB / 0.5648 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/0.1866, allocations: 4 kB / 0.5648 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.1872, allocations: 59.89 kB / 0.5649 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001919/0.1874, allocations: 41.03 kB / 0.5649 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/0.1874, allocations: 15.98 kB / 0.5649 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/0.1897, allocations: 1.547 MB / 0.5664 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1897, allocations: 0 / 0.5664 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.1927, allocations: 1.179 MB / 0.5676 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.1931, allocations: 176.8 kB / 0.5677 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.1932, allocations: 16 kB / 0.5678 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.1937, allocations: 27.97 kB / 0.5678 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/0.1939, allocations: 39.89 kB / 0.5678 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.9e-05/0.194, allocations: 19.98 kB / 0.5678 GB, free: 7.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003783/0.1944, allocations: 203.1 kB / 0.568 GB, free: 7.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1944, allocations: 0 / 0.568 GB, free: 7.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001057/0.1954, allocations: 147.9 kB / 0.5682 GB, free: 6.926 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003648/0.1991, allocations: 1.771 MB / 0.5699 GB, free: 5.113 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.2019, allocations: 1.144 MB / 0.571 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2019, allocations: 0 / 0.571 GB, free: 3.945 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.2037, allocations: 0.7097 MB / 0.5717 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.2047, allocations: 71.97 kB / 0.5718 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.2186, allocations: 5.892 MB / 0.5775 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009725/0.2196, allocations: 0.9053 MB / 0.5784 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005697/0.2201, allocations: 103.2 kB / 0.5785 GB, free: 11.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.2205, allocations: 159.4 kB / 0.5787 GB, free: 11.84 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2205, allocations: 0 / 0.5787 GB, free: 11.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.2625, allocations: 10.42 MB / 0.5888 GB, free: 1.559 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.21, allocations: 11.67 kB / 0.5889 GB, free: 1.547 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.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.488238415971864]