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.001326/0.001326, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001511/0.001511, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.413/1.413, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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.1748/0.1748, allocations: 29.43 MB / 290.1 MB, free: 3.297 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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.298e-06/4.298e-06, allocations: 4 kB / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.802e-05, allocations: 2.281 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.00598/0.006008, allocations: 4.39 MB / 435.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.008569, allocations: 1.367 MB / 436.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.008833, allocations: 19.81 kB / 436.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009459/0.009779, allocations: 286.5 kB / 436.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007052/0.01048, allocations: 290.3 kB / 437.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007568/0.01124, allocations: 271.2 kB / 437.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008684/0.01211, allocations: 0.674 MB / 438 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.01252, allocations: 204.5 kB / 438.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007574/0.01328, allocations: 406.8 kB / 438.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006747/0.01395, allocations: 403 kB / 439 MB, free: 9.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.01407, allocations: 48 kB / 439 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.01454, allocations: 219.6 kB / 439.3 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.01486, allocations: 263.3 kB / 439.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003038/0.01516, allocations: 195.6 kB / 439.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.01618, allocations: 0.8023 MB / 440.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01618, allocations: 0 / 440.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01618, allocations: 4 kB / 440.5 MB, free: 8.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.0162, allocations: 4 kB / 440.5 MB, free: 8.113 MB / 366.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.001674/0.01787, allocations: 0.8235 MB / 441.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.01791, allocations: 11.97 kB / 441.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007351/0.01864, allocations: 128.5 kB / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.01933, allocations: 375.7 kB / 441.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.01937, allocations: 33.36 kB / 441.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.01945, allocations: 36.38 kB / 441.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.02082, allocations: 0.9471 MB / 442.9 MB, free: 5.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.02085, allocations: 3.938 kB / 442.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.0209, allocations: 16 kB / 442.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.02105, allocations: 60.95 kB / 442.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.02234, allocations: 0.8682 MB / 443.8 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.02606, allocations: 2.487 MB / 446.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009551/0.02702, allocations: 0.548 MB / 446.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.02759, allocations: 436.2 kB / 447.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.02762, allocations: 16.17 kB / 447.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.02766, allocations: 42.56 kB / 447.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 1.943e-06/0.02766, allocations: 0 / 447.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=57): time 0.1528/0.1804, allocations: 1.982 MB / 449.3 MB, free: 30.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.1805, allocations: 145.2 kB / 449.4 MB, free: 30.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.1808, allocations: 298.7 kB / 449.7 MB, free: 30.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.1808, allocations: 38.27 kB / 449.8 MB, free: 30.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.1809, allocations: 266.2 kB / 450 MB, free: 29.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.181, allocations: 185.8 kB / 450.2 MB, free: 29.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.1812, allocations: 106.7 kB / 450.3 MB, free: 29.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.1812, allocations: 351.3 kB / 450.7 MB, free: 29.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.1817, allocations: 417.9 kB / 451.1 MB, free: 29.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.1822, allocations: 0.5461 MB / 451.6 MB, free: 28.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.1832, allocations: 1.015 MB / 452.6 MB, free: 28.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1832, allocations: 2.469 kB / 452.6 MB, free: 28.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001383/0.1846, allocations: 1.072 MB / 453.7 MB, free: 28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.1847, allocations: 76.8 kB / 453.8 MB, free: 27.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1847, allocations: 4.906 kB / 453.8 MB, free: 27.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.1848, allocations: 37.88 kB / 453.8 MB, free: 27.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.1852, allocations: 92.12 kB / 453.9 MB, free: 27.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008874/0.1861, allocations: 1.421 MB / 455.3 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.1864, allocations: 34.59 kB / 455.4 MB, free: 26.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.1865, allocations: 27.3 kB / 455.4 MB, free: 26.63 MB / 366.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.0003149/0.1868, allocations: 309.2 kB / 455.7 MB, free: 26.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1869, allocations: 47.67 kB / 455.7 MB, free: 26.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.1883, allocations: 1.132 MB / 456.9 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.1883, allocations: 10.89 kB / 456.9 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1883, allocations: 1.719 kB / 456.9 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1883, allocations: 6.969 kB / 456.9 MB, free: 25.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.1905, allocations: 1.697 MB / 458.6 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1905, allocations: 3.984 kB / 458.6 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.1907, allocations: 56 kB / 458.6 MB, free: 25.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.1908, allocations: 37.11 kB / 458.7 MB, free: 25.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.1909, allocations: 15.98 kB / 458.7 MB, free: 25.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008211/0.1917, allocations: 1.416 MB / 460.1 MB, free: 23.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1917, allocations: 7.062 kB / 460.1 MB, free: 23.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.1932, allocations: 1.226 MB / 461.3 MB, free: 23.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.1934, allocations: 105.6 kB / 461.4 MB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.111e-05/0.1935, allocations: 13.64 kB / 461.5 MB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.1938, allocations: 25.66 kB / 461.5 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.1939, allocations: 39.55 kB / 461.5 MB, free: 23.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.194, allocations: 24.33 kB / 461.5 MB, free: 23.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1942, allocations: 202.4 kB / 461.7 MB, free: 23.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1942, allocations: 3.938 kB / 461.8 MB, free: 23.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006543/0.1948, allocations: 145.6 kB / 461.9 MB, free: 23.16 MB / 366.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.0002925/0.1951, allocations: 144.1 kB / 462 MB, free: 23.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.1975, allocations: 1.268 MB / 463.3 MB, free: 22.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.1975, allocations: 1.312 kB / 463.3 MB, free: 22.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.1989, allocations: 0.735 MB / 464 MB, free: 22.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007609/0.1996, allocations: 81.95 kB / 464.1 MB, free: 22.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.202, allocations: 1.455 MB / 465.6 MB, free: 21.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.2023, allocations: 300.6 kB / 465.9 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000255/0.2025, allocations: 102.8 kB / 466 MB, free: 21.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.6e-05/0.2026, allocations: 36.56 kB / 466 MB, free: 21.37 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2026, allocations: 0 / 466 MB, free: 21.37 MB / 366.1 MB Notification: Performance of Templates: time 0.01101/0.2136, allocations: 6.179 MB / 472.2 MB, free: 19.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] 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: 4.7600574269890785]