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.001015/0.001015, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009845/0.0009845, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.9983/0.9983, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2507/0.2507, allocations: 29.41 MB / 291.2 MB, free: 2.398 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.295e-06/2.295e-06, allocations: 0 / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.164e-05, allocations: 5.266 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005358/0.00539, allocations: 5.515 MB / 375.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.007276, allocations: 1.095 MB / 376.2 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.007618, allocations: 27.75 kB / 376.2 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.00788, allocations: 83.2 kB / 376.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008053/0.008685, allocations: 310 kB / 376.6 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.009013, allocations: 147.7 kB / 376.8 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007266/0.00974, allocations: 0.7198 MB / 377.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.009974, allocations: 113.2 kB / 377.6 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.01069, allocations: 422.7 kB / 378 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.01113, allocations: 303.2 kB / 378.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.01119, allocations: 35.94 kB / 378.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.01125, allocations: 36 kB / 378.4 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.01139, allocations: 171.5 kB / 378.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.01156, allocations: 167.6 kB / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.01197, allocations: 346.7 kB / 379 MB, free: 1.797 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.01197, allocations: 0 / 379 MB, free: 1.797 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01197, allocations: 0 / 379 MB, free: 1.797 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.01198, allocations: 7.938 kB / 379.1 MB, free: 1.789 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.001052/0.01303, allocations: 0.8288 MB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.01308, allocations: 12.03 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.01322, allocations: 80.61 kB / 380 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005569/0.01377, allocations: 415.6 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.0138, allocations: 25.38 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.01385, allocations: 40.12 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000407/0.01425, allocations: 368 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01427, allocations: 0 / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.01429, allocations: 16 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.01431, allocations: 8 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.01454, allocations: 156.6 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.01605, allocations: 1.991 MB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.01626, allocations: 137.1 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.01633, allocations: 51.16 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.01634, allocations: 4 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.01638, allocations: 37.39 kB / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.375e-06/0.01638, allocations: 0 / 383.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008153/0.0172, allocations: 0.5269 MB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.01725, allocations: 110.8 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.01752, allocations: 398.6 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.01754, allocations: 25.7 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.0177, allocations: 342.8 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.01773, allocations: 55.48 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.0178, allocations: 67.31 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.01794, allocations: 0.5157 MB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.01799, allocations: 32.16 kB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.01813, allocations: 232.8 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.01836, allocations: 300.9 kB / 385.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01836, allocations: 4 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003075/0.01867, allocations: 280.8 kB / 386 MB, free: 10.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.01869, allocations: 8 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.01869, allocations: 4.547 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.01871, allocations: 8 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.01887, allocations: 72.47 kB / 386.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.01888, allocations: 15.94 kB / 386.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.01898, allocations: 12 kB / 386.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01899, allocations: 15.98 kB / 386.2 MB, free: 10.09 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.0001075/0.0191, allocations: 180.4 kB / 386.4 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.01915, allocations: 43.7 kB / 386.4 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.01936, allocations: 152.7 kB / 386.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01936, allocations: 4 kB / 386.6 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01936, allocations: 0 / 386.6 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01937, allocations: 0 / 386.6 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.0198, allocations: 496.8 kB / 387 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01981, allocations: 4 kB / 387 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.01992, allocations: 31.98 kB / 387.1 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01992, allocations: 0 / 387.1 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.01994, allocations: 4 kB / 387.1 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.01994, allocations: 7.922 kB / 387.1 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01995, allocations: 4 kB / 387.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.02025, allocations: 458.1 kB / 387.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.02029, allocations: 35.69 kB / 387.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.02032, allocations: 8 kB / 387.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.02041, allocations: 8.031 kB / 387.6 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.02043, allocations: 15.92 kB / 387.6 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.02044, allocations: 7.984 kB / 387.6 MB, free: 8.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.02059, allocations: 255.1 kB / 387.9 MB, free: 8.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02059, allocations: 0 / 387.9 MB, free: 8.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002926/0.02089, allocations: 75.94 kB / 387.9 MB, free: 8.242 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 8.539e-05/0.02097, allocations: 95.25 kB / 388 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.02118, allocations: 135.9 kB / 388.2 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02118, allocations: 3.938 kB / 388.2 MB, free: 8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.45e-05/0.02124, allocations: 63.61 kB / 388.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.0217, allocations: 100 kB / 388.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.02302, allocations: 0.8066 MB / 389.1 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.46e-05/0.02311, allocations: 125.2 kB / 389.3 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.02323, allocations: 47.25 kB / 389.3 MB, free: 6.805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.02329, allocations: 32.5 kB / 389.3 MB, free: 6.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.914e-06/0.02329, allocations: 0 / 389.3 MB, free: 6.77 MB / 362.7 MB Notification: Performance of Templates: time 0.005713/0.02901, allocations: 3.274 MB / 392.6 MB, free: 3.586 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Frequency_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.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.053514599101618]