Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.001504/0.001504, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001661/0.001661, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.2867/0.2867, allocations: 29.41 MB / 290.5 MB, free: 2.438 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: translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter1.i|meter1.p|meter1.v|meter2.i|meter2.p|meter2.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.512e-05/3.772e-05, allocations: 5.406 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.008498/0.008535, allocations: 5.192 MB / 374.1 MB, free: 6.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.01082, allocations: 1.079 MB / 375.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.01104, allocations: 31.75 kB / 375.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.01131, allocations: 87.2 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008069/0.01211, allocations: 306 kB / 375.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.01246, allocations: 147.7 kB / 375.7 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009086/0.01337, allocations: 0.7198 MB / 376.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002801/0.01365, allocations: 121.1 kB / 376.5 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.01435, allocations: 418.7 kB / 377 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.01488, allocations: 295.2 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.77e-05/0.01495, allocations: 32 kB / 377.3 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.01504, allocations: 36 kB / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.01526, allocations: 175.4 kB / 377.5 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.01549, allocations: 167.5 kB / 377.6 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006681/0.01616, allocations: 486.3 kB / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.01616, allocations: 0 / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01616, allocations: 0 / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.01617, allocations: 4 kB / 378.1 MB, free: 2.035 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00158/0.01775, allocations: 0.725 MB / 378.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.01779, allocations: 8.031 kB / 378.9 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.01796, allocations: 88.56 kB / 378.9 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.01876, allocations: 404.8 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.0188, allocations: 33.38 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/0.01888, allocations: 44.11 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.0199, allocations: 455.6 kB / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.01992, allocations: 0 / 379.9 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.01996, allocations: 16 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01997, allocations: 8 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.02055, allocations: 304.7 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.02289, allocations: 1.612 MB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.02318, allocations: 135.7 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.02328, allocations: 54.67 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.02331, allocations: 4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.02335, allocations: 38.5 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.02335, allocations: 0 / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001367/0.02472, allocations: 0.5497 MB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.02484, allocations: 114.7 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.02544, allocations: 353.6 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.02548, allocations: 33.7 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.02581, allocations: 291.8 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.02589, allocations: 55.58 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.02604, allocations: 61.78 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002683/0.0263, allocations: 346.8 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.02641, allocations: 43.98 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.02664, allocations: 186.9 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.02705, allocations: 270.5 kB / 384.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.02705, allocations: 4.438 kB / 384.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005149/0.02756, allocations: 301.8 kB / 384.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.02758, allocations: 12.09 kB / 384.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.0276, allocations: 4 kB / 384.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.02762, allocations: 8 kB / 384.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.02791, allocations: 75.84 kB / 384.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.392e-05/0.02794, allocations: 8 kB / 384.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.02812, allocations: 19.89 kB / 384.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.02814, allocations: 16.08 kB / 384.7 MB, free: 10.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0002238/0.02837, allocations: 173.7 kB / 384.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.02847, allocations: 47.7 kB / 384.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003448/0.02881, allocations: 180.7 kB / 385.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.02882, allocations: 7.984 kB / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.02883, allocations: 0 / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.02883, allocations: 0 / 385.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.02955, allocations: 438.8 kB / 385.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.02955, allocations: 0 / 385.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.02974, allocations: 35.98 kB / 385.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.02975, allocations: 4 kB / 385.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.02976, allocations: 0 / 385.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.02977, allocations: 7.938 kB / 385.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02977, allocations: 0 / 385.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005294/0.0303, allocations: 404.1 kB / 386 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.03036, allocations: 35.7 kB / 386 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.03041, allocations: 8 kB / 386 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.03057, allocations: 0 / 386 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.03061, allocations: 19.95 kB / 386.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.03062, allocations: 4 kB / 386.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003044/0.03093, allocations: 243.2 kB / 386.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03093, allocations: 0 / 386.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004498/0.03138, allocations: 71.94 kB / 386.4 MB, free: 9.246 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0001396/0.03151, allocations: 103.2 kB / 386.5 MB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.03184, allocations: 143.7 kB / 386.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03184, allocations: 0 / 386.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.03195, allocations: 61.14 kB / 386.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.03267, allocations: 101.5 kB / 386.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.03455, allocations: 0.7931 MB / 387.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.03486, allocations: 239 kB / 387.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.03502, allocations: 47.25 kB / 387.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.0351, allocations: 32.5 kB / 387.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.0351, allocations: 4 kB / 387.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of Templates: time 0.008566/0.04367, allocations: 3.259 MB / 391.1 MB, free: 4.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.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.792036261060275]