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.0008748/0.0008748, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009244/0.0009244, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9396/0.9396, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.236/0.236, allocations: 29.41 MB / 290.1 MB, free: 2.445 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.653e-06/1.653e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.718e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004644/0.004671, allocations: 3.976 MB / 434.2 MB, free: 9.582 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.005942, allocations: 0.8685 MB / 435.1 MB, free: 8.711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.006135, allocations: 19.81 kB / 435.1 MB, free: 8.691 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.006358, allocations: 51.5 kB / 435.1 MB, free: 8.641 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004732/0.006831, allocations: 194.8 kB / 435.3 MB, free: 8.449 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.007036, allocations: 91.75 kB / 435.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.007409, allocations: 414.4 kB / 435.8 MB, free: 7.953 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.007638, allocations: 78.67 kB / 435.9 MB, free: 7.871 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.008021, allocations: 251.2 kB / 436.1 MB, free: 7.625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.008301, allocations: 191.4 kB / 436.3 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.008342, allocations: 20 kB / 436.3 MB, free: 7.418 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.977e-05/0.008382, allocations: 24 kB / 436.4 MB, free: 7.395 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.008498, allocations: 115.6 kB / 436.5 MB, free: 7.281 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.008598, allocations: 99.75 kB / 436.6 MB, free: 7.184 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.008913, allocations: 318.9 kB / 436.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.008917, allocations: 0 / 436.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.008919, allocations: 0 / 436.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.008925, allocations: 0 / 436.9 MB, free: 6.871 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.0008288/0.009754, allocations: 0.5566 MB / 437.5 MB, free: 6.285 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.009797, allocations: 15.98 kB / 437.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.076e-05/0.009848, allocations: 58.72 kB / 437.5 MB, free: 6.203 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.009899, allocations: 36.7 kB / 437.6 MB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.01026, allocations: 279.6 kB / 437.8 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.01027, allocations: 16.88 kB / 437.9 MB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/0.01057, allocations: 24.38 kB / 437.9 MB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.0109, allocations: 320.1 kB / 438.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.01091, allocations: 0 / 438.2 MB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.01093, allocations: 8 kB / 438.2 MB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.01093, allocations: 8 kB / 438.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.01117, allocations: 213.7 kB / 438.4 MB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.01221, allocations: 1.26 MB / 439.7 MB, free: 3.914 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.01248, allocations: 145.1 kB / 439.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.01255, allocations: 61.97 kB / 439.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01257, allocations: 7.938 kB / 439.9 MB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.01259, allocations: 34.56 kB / 439.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.01259, allocations: 0 / 439.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006172/0.01321, allocations: 372.3 kB / 440.3 MB, free: 3.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.01325, allocations: 85.05 kB / 440.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.01344, allocations: 264.1 kB / 440.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.01346, allocations: 29.7 kB / 440.6 MB, free: 2.867 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.01356, allocations: 208 kB / 440.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.01359, allocations: 47.64 kB / 440.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.01364, allocations: 41.83 kB / 440.9 MB, free: 2.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.885e-05/0.01373, allocations: 342.8 kB / 441.3 MB, free: 2.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.0138, allocations: 51.97 kB / 441.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.0139, allocations: 148.8 kB / 441.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.01409, allocations: 229.4 kB / 441.7 MB, free: 1.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.0141, allocations: 0 / 441.7 MB, free: 1.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000251/0.01435, allocations: 253.1 kB / 441.9 MB, free: 1.453 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.01437, allocations: 8 kB / 441.9 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.01437, allocations: 8 kB / 442 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.01439, allocations: 7.938 kB / 442 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01451, allocations: 51.91 kB / 442 MB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01452, allocations: 4 kB / 442 MB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.0146, allocations: 15.95 kB / 442 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.01461, allocations: 12.36 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.0001111/0.01472, allocations: 165.6 kB / 442.2 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.01475, allocations: 23.86 kB / 442.2 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.01498, allocations: 197 kB / 442.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01499, allocations: 4 kB / 442.4 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01499, allocations: 0 / 442.4 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01499, allocations: 3.938 kB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.01546, allocations: 0.5061 MB / 442.9 MB, free: 396 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01546, allocations: 4 kB / 442.9 MB, free: 392 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.01554, allocations: 27.92 kB / 443 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01555, allocations: 8.031 kB / 443 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01556, allocations: 4 kB / 443 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01556, allocations: 0 / 443 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01556, allocations: 4 kB / 443 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.01577, allocations: 294.3 kB / 443.3 MB, free: 32 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.01579, allocations: 23.81 kB / 443.3 MB, free: 8 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01581, allocations: 8 kB / 443.3 MB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1893/0.2051, allocations: 3.203 kB / 443.3 MB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.2052, allocations: 12.33 kB / 443.3 MB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2052, allocations: 4.125 kB / 443.3 MB, free: 54.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.2054, allocations: 188.4 kB / 443.5 MB, free: 54.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2054, allocations: 1.469 kB / 443.5 MB, free: 54.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.2056, allocations: 50.55 kB / 443.6 MB, free: 54.26 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.0003611/0.206, allocations: 0.816 MB / 444.4 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.2062, allocations: 156.8 kB / 444.5 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2062, allocations: 0 / 444.5 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.2063, allocations: 65.84 kB / 444.6 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2066, allocations: 63.02 kB / 444.7 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.2082, allocations: 2.539 MB / 447.2 MB, free: 51.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.62e-05/0.2083, allocations: 174.2 kB / 447.4 MB, free: 51.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.933e-05/0.2084, allocations: 40.69 kB / 447.4 MB, free: 51.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.2085, allocations: 88.02 kB / 447.5 MB, free: 51.8 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2085, allocations: 0 / 447.5 MB, free: 51.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.2282, allocations: 5.791 MB / 453.3 MB, free: 50.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.543/6.771, allocations: 4 kB / 453.3 MB, free: 50.63 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.776676145382226]