Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.001839/0.001839, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001523/0.001523, allocations: 166.3 kB / 24.82 MB, free: 9.27 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 1.227/1.227, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.3606/0.3606, allocations: 29.42 MB / 291.2 MB, free: 2.434 MB / 266.7 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.1.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.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.[0-9,]+.|meter_SI.p.[0-9,]+.|meter_SI.v.[0-9,]+.|meter_pu.i.[0-9,]+.|meter_pu.p.[0-9,]+.|meter_pu.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter_SI.i.[0-9,]+.|meter_SI.p.[0-9,]+.|meter_SI.v.[0-9,]+.|meter_pu.i.[0-9,]+.|meter_pu.p.[0-9,]+.|meter_pu.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.94e-05/5.207e-05, allocations: 8.938 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.009656/0.009708, allocations: 5.179 MB / 375.3 MB, free: 5.539 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.01359, allocations: 1.741 MB / 377 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005876/0.01418, allocations: 27.75 kB / 377 MB, free: 3.766 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.0154, allocations: 0.5016 MB / 377.5 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.01646, allocations: 385.8 kB / 377.9 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.01776, allocations: 410.7 kB / 378.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.01907, allocations: 0.9391 MB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.01972, allocations: 400.3 kB / 379.6 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.02082, allocations: 0.6 MB / 380.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007343/0.02155, allocations: 490.7 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.02168, allocations: 56 kB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/0.02229, allocations: 243.6 kB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.02266, allocations: 442.9 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.02301, allocations: 299.3 kB / 381.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.02412, allocations: 0.7747 MB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.02412, allocations: 4 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02412, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.89e-05/0.02415, allocations: 0 / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001628/0.02578, allocations: 1.091 MB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.02584, allocations: 15.98 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007883/0.02663, allocations: 248.2 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005858/0.02721, allocations: 466.1 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.02725, allocations: 54.38 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.02733, allocations: 80.31 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009/0.02823, allocations: 0.8242 MB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.02827, allocations: 15.88 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.02832, allocations: 32 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-05/0.02837, allocations: 49.98 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.02884, allocations: 353.2 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004713/0.03356, allocations: 5.802 MB / 391.5 MB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.03393, allocations: 222.5 kB / 391.7 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.03404, allocations: 87.39 kB / 391.8 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.03408, allocations: 12.69 kB / 391.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.03412, allocations: 45.33 kB / 391.9 MB, free: 4.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 4.669e-06/0.03412, allocations: 4 kB / 391.9 MB, free: 4.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.00104/0.03516, allocations: 0.5161 MB / 392.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.03521, allocations: 81.11 kB / 392.5 MB, free: 3.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.03557, allocations: 0.5097 MB / 393 MB, free: 3.246 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.0356, allocations: 37.64 kB / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.03586, allocations: 0.5135 MB / 393.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.03598, allocations: 166.6 kB / 393.7 MB, free: 2.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.03613, allocations: 160.2 kB / 393.9 MB, free: 2.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.03634, allocations: 0.5509 MB / 394.4 MB, free: 1.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.03645, allocations: 85.92 kB / 394.5 MB, free: 1.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.03683, allocations: 0.6379 MB / 395.1 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/0.03749, allocations: 0.807 MB / 395.9 MB, free: 15.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.0375, allocations: 8 kB / 396 MB, free: 15.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008293/0.03833, allocations: 0.6226 MB / 396.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.03836, allocations: 11.94 kB / 396.6 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.03838, allocations: 16 kB / 396.6 MB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-05/0.03842, allocations: 16 kB / 396.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.03901, allocations: 196.2 kB / 396.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.967e-05/0.03904, allocations: 35.86 kB / 396.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006992/0.03974, allocations: 35.94 kB / 396.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.0398, allocations: 32 kB / 396.9 MB, free: 14.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0002553/0.04006, allocations: 216.2 kB / 397.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.04016, allocations: 67.61 kB / 397.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006038/0.04077, allocations: 339.1 kB / 397.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.04078, allocations: 4 kB / 397.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.04078, allocations: 8 kB / 397.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.04079, allocations: 3.984 kB / 397.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.04201, allocations: 0.9946 MB / 398.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.04202, allocations: 4 kB / 398.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.04224, allocations: 99.89 kB / 398.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.04225, allocations: 4.25 kB / 398.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.04227, allocations: 19.98 kB / 398.7 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.04228, allocations: 11.77 kB / 398.7 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.04228, allocations: 4 kB / 398.7 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.04273, allocations: 0.5453 MB / 399.2 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.0428, allocations: 55.59 kB / 399.3 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.04283, allocations: 15.98 kB / 399.3 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.04294, allocations: 12 kB / 399.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.04299, allocations: 35.88 kB / 399.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.043, allocations: 12 kB / 399.3 MB, free: 12.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.04317, allocations: 287 kB / 399.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04318, allocations: 0 / 399.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.04368, allocations: 160 kB / 399.8 MB, free: 11.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (51): * Single equations (assignments): 50 * 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.0001498/0.04383, allocations: 107.1 kB / 399.9 MB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004486/0.04428, allocations: 380.1 kB / 400.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.04428, allocations: 0 / 400.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.04443, allocations: 152.8 kB / 400.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.04491, allocations: 106 kB / 400.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.04674, allocations: 1.226 MB / 401.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.04689, allocations: 206 kB / 401.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.0471, allocations: 89.06 kB / 402 MB, free: 9.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.04733, allocations: 182.1 kB / 402.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.04733, allocations: 0 / 402.2 MB, free: 9.227 MB / 378.7 MB Notification: Performance of Templates: time 0.009331/0.05666, allocations: 5.821 MB / 408 MB, free: 3.504 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Units_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Units.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6336102709174156]