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.001276/0.001276, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001621/0.001621, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8745/0.8745, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2167/0.2167, allocations: 29.41 MB / 290.1 MB, free: 2.457 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.791e-05, allocations: 2.844 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.003743/0.003761, allocations: 3.977 MB / 434.2 MB, free: 9.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.004925, allocations: 0.8762 MB / 435.1 MB, free: 8.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.005083, allocations: 15.88 kB / 435.1 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.005265, allocations: 51.5 kB / 435.1 MB, free: 8.637 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.005744, allocations: 186.8 kB / 435.3 MB, free: 8.453 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.005916, allocations: 91.73 kB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.006239, allocations: 418.4 kB / 435.8 MB, free: 7.953 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.006422, allocations: 82.67 kB / 435.9 MB, free: 7.867 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.006741, allocations: 247.2 kB / 436.1 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.006978, allocations: 191.5 kB / 436.3 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.007013, allocations: 27.94 kB / 436.3 MB, free: 7.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.344e-05/0.007046, allocations: 20 kB / 436.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.007135, allocations: 123.6 kB / 436.5 MB, free: 7.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.007219, allocations: 95.77 kB / 436.6 MB, free: 7.176 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.007491, allocations: 315 kB / 436.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.007493, allocations: 0 / 436.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.007494, allocations: 0 / 436.9 MB, free: 6.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.0075, allocations: 0 / 436.9 MB, free: 6.867 MB / 410.7 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.000833/0.008333, allocations: 0.5566 MB / 437.4 MB, free: 6.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.008369, allocations: 11.98 kB / 437.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.008416, allocations: 58.73 kB / 437.5 MB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.00846, allocations: 36.7 kB / 437.6 MB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.008782, allocations: 279.7 kB / 437.8 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.008798, allocations: 20.88 kB / 437.8 MB, free: 5.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.008824, allocations: 20.38 kB / 437.9 MB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.009195, allocations: 324.1 kB / 438.2 MB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.009208, allocations: 7.938 kB / 438.2 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.009227, allocations: 8 kB / 438.2 MB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.009235, allocations: 8 kB / 438.2 MB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.009489, allocations: 213.8 kB / 438.4 MB, free: 5.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.0105, allocations: 1.264 MB / 439.7 MB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.01072, allocations: 137.2 kB / 439.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.184e-05/0.01079, allocations: 57.75 kB / 439.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.0108, allocations: 4.219 kB / 439.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.01082, allocations: 34.5 kB / 439.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.01082, allocations: 3.938 kB / 439.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005429/0.01136, allocations: 368.4 kB / 440.3 MB, free: 3.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.0114, allocations: 85.05 kB / 440.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.01156, allocations: 268.1 kB / 440.6 MB, free: 2.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.01157, allocations: 29.83 kB / 440.6 MB, free: 2.863 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.01167, allocations: 212 kB / 440.8 MB, free: 2.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.01169, allocations: 39.66 kB / 440.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.01174, allocations: 45.69 kB / 440.9 MB, free: 2.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.884e-05/0.01183, allocations: 342.8 kB / 441.3 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.01189, allocations: 51.97 kB / 441.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.01199, allocations: 148.8 kB / 441.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.01217, allocations: 225.4 kB / 441.7 MB, free: 1.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.01217, allocations: 0 / 441.7 MB, free: 1.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002348/0.01241, allocations: 257 kB / 441.9 MB, free: 1.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01242, allocations: 11.98 kB / 441.9 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01243, allocations: 4 kB / 442 MB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.01244, allocations: 4 kB / 442 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.01255, allocations: 56.28 kB / 442 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.01255, allocations: 8 kB / 442 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.01262, allocations: 7.953 kB / 442 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.01263, allocations: 12 kB / 442 MB, free: 1.348 MB / 410.7 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.0001013/0.01273, allocations: 165.6 kB / 442.2 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.01276, allocations: 23.86 kB / 442.2 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.01298, allocations: 201.5 kB / 442.4 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01298, allocations: 3.984 kB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01298, allocations: 0 / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01299, allocations: 4 kB / 442.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.01341, allocations: 0.5139 MB / 442.9 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01341, allocations: 3.984 kB / 442.9 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.01348, allocations: 27.98 kB / 443 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01348, allocations: 0 / 443 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01349, allocations: 8 kB / 443 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01349, allocations: 0 / 443 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01349, allocations: 0 / 443 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.01369, allocations: 296.9 kB / 443.3 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.01371, allocations: 23.81 kB / 443.3 MB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.01373, allocations: 0 / 443.3 MB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1622/0.1759, allocations: 4.453 kB / 443.3 MB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1759, allocations: 16.77 kB / 443.3 MB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1759, allocations: 5.344 kB / 443.3 MB, free: 54.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1761, allocations: 183.3 kB / 443.5 MB, free: 54.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1761, allocations: 0 / 443.5 MB, free: 54.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.1763, allocations: 54.31 kB / 443.6 MB, free: 54.31 MB / 410.7 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.0003644/0.1767, allocations: 0.8198 MB / 444.4 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1769, allocations: 153.3 kB / 444.5 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1769, allocations: 0.5 kB / 444.5 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.397e-05/0.177, allocations: 66.78 kB / 444.6 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1773, allocations: 59.11 kB / 444.6 MB, free: 53.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.179, allocations: 2.544 MB / 447.2 MB, free: 51.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.742e-05/0.1791, allocations: 172.6 kB / 447.4 MB, free: 51.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.1792, allocations: 44.06 kB / 447.4 MB, free: 51.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.1793, allocations: 87.16 kB / 447.5 MB, free: 51.84 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1793, allocations: 0 / 447.5 MB, free: 51.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.1964, allocations: 5.785 MB / 453.3 MB, free: 50.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/7.117, allocations: 3.938 kB / 453.3 MB, free: 50.68 MB / 410.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00027027 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.csv failed! Error: Could not read variable meter.v in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.csv. Warning: Get data of variable meter.v from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.092992469668388]