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.0009276/0.0009276, 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.001094/0.001094, allocations: 170.3 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.9638/0.9638, allocations: 177.1 MB / 204.3 MB, free: 5.754 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.2592/0.2592, allocations: 29.41 MB / 290.1 MB, free: 2.453 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.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Sensor,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Sensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.179e-05, allocations: 6.219 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.0104/0.01042, allocations: 4.401 MB / 434.6 MB, free: 9.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.01339, allocations: 1.363 MB / 436 MB, free: 7.812 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.01371, allocations: 19.81 kB / 436 MB, free: 7.793 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.01458, allocations: 301 kB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000546/0.01513, allocations: 286.3 kB / 436.6 MB, free: 7.219 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006333/0.01576, allocations: 267.1 kB / 436.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007122/0.01647, allocations: 0.6702 MB / 437.5 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003844/0.01686, allocations: 220.4 kB / 437.7 MB, free: 6.062 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.01741, allocations: 394.9 kB / 438.1 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.01791, allocations: 403 kB / 438.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.01798, allocations: 44 kB / 438.5 MB, free: 5.238 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.01869, allocations: 215.6 kB / 438.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.01891, allocations: 267.3 kB / 439 MB, free: 4.766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.01913, allocations: 207.5 kB / 439.2 MB, free: 4.562 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009531/0.02009, allocations: 0.7984 MB / 440 MB, free: 3.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.02009, allocations: 0 / 440 MB, free: 3.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.02009, allocations: 0 / 440 MB, free: 3.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.528e-05/0.02012, allocations: 0 / 440 MB, free: 3.762 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001478/0.0216, allocations: 0.8202 MB / 440.8 MB, free: 2.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.02165, allocations: 11.98 kB / 440.8 MB, free: 2.891 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.9e-05/0.02175, allocations: 94.64 kB / 440.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/0.02226, allocations: 132.4 kB / 441.1 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.02285, allocations: 379.8 kB / 441.4 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.02289, allocations: 33.36 kB / 441.5 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.02296, allocations: 40.38 kB / 441.5 MB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.02398, allocations: 0.9352 MB / 442.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.024, allocations: 7.922 kB / 442.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.02404, allocations: 20 kB / 442.5 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.02414, allocations: 56.95 kB / 442.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008949/0.02504, allocations: 0.8721 MB / 443.4 MB, free: 252 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1989/0.2239, allocations: 2.562 MB / 446 MB, free: 53.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.2246, allocations: 0.551 MB / 446.5 MB, free: 53.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.2249, allocations: 435.4 kB / 446.9 MB, free: 52.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.2249, allocations: 4.344 kB / 446.9 MB, free: 52.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2249, allocations: 37.17 kB / 447 MB, free: 52.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 3.046e-06/0.2249, allocations: 0.625 kB / 447 MB, free: 52.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001985/0.2269, allocations: 1.992 MB / 449 MB, free: 52.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.227, allocations: 140.7 kB / 449.1 MB, free: 51.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.2272, allocations: 305.1 kB / 449.4 MB, free: 51.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2272, allocations: 32.83 kB / 449.4 MB, free: 51.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.2273, allocations: 260 kB / 449.7 MB, free: 51.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.044e-05/0.2273, allocations: 196 kB / 449.9 MB, free: 51.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2275, allocations: 94.42 kB / 450 MB, free: 51.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.071e-05/0.2275, allocations: 354.8 kB / 450.3 MB, free: 51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.2278, allocations: 417.5 kB / 450.7 MB, free: 50.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.2282, allocations: 0.5562 MB / 451.3 MB, free: 50.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.2289, allocations: 1.011 MB / 452.3 MB, free: 50.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2289, allocations: 3 kB / 452.3 MB, free: 50.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008344/0.2297, allocations: 1.07 MB / 453.4 MB, free: 49.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.2298, allocations: 72.98 kB / 453.4 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2298, allocations: 6.625 kB / 453.4 MB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.2299, allocations: 48.39 kB / 453.5 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.2301, allocations: 83.56 kB / 453.6 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008302/0.231, allocations: 1.448 MB / 455 MB, free: 48.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2312, allocations: 31.22 kB / 455.1 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.2312, allocations: 32.69 kB / 455.1 MB, free: 48.23 MB / 410.7 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.000233/0.2315, allocations: 298.4 kB / 455.4 MB, free: 48.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.2315, allocations: 47.06 kB / 455.4 MB, free: 48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009132/0.2324, allocations: 1.137 MB / 456.6 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.2325, allocations: 10.81 kB / 456.6 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2325, allocations: 3.812 kB / 456.6 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2325, allocations: 3.422 kB / 456.6 MB, free: 47.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.234, allocations: 1.77 MB / 458.3 MB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.234, allocations: 3.125 kB / 458.4 MB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.2341, allocations: 60.38 kB / 458.4 MB, free: 46.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.65e-05/0.2342, allocations: 32.45 kB / 458.4 MB, free: 46.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.2342, allocations: 17.91 kB / 458.5 MB, free: 46.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005927/0.2348, allocations: 1.443 MB / 459.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2348, allocations: 3 kB / 459.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008825/0.2357, allocations: 1.232 MB / 461.1 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2358, allocations: 92.34 kB / 461.2 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.2359, allocations: 24.62 kB / 461.3 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.236, allocations: 26.64 kB / 461.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.2361, allocations: 40.06 kB / 461.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.2361, allocations: 22.39 kB / 461.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.2362, allocations: 202.8 kB / 461.5 MB, free: 44.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2362, allocations: 4.062 kB / 461.5 MB, free: 44.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.2366, allocations: 143.8 kB / 461.7 MB, free: 44.66 MB / 410.7 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.001087/0.2377, allocations: 1.818 MB / 463.5 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000983/0.2387, allocations: 1.268 MB / 464.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2387, allocations: 0 / 464.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.2392, allocations: 0.7448 MB / 465.5 MB, free: 42.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.2395, allocations: 70.89 kB / 465.6 MB, free: 42.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.244, allocations: 6.3 MB / 471.9 MB, free: 39.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.2442, allocations: 303.2 kB / 472.2 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001884/0.2444, allocations: 100.1 kB / 472.3 MB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.2445, allocations: 156.8 kB / 472.4 MB, free: 39.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2445, allocations: 0 / 472.4 MB, free: 39.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.2737, allocations: 11.26 MB / 483.7 MB, free: 37.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.288, allocations: 5.344 kB / 483.7 MB, free: 37.45 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Sensor.mat","/var/lib/jenkins/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: 9.40892761386931]