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.001459/0.001459, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.0016/0.0016, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.331/1.331, allocations: 230.6 MB / 258.3 MB, free: 7.961 MB / 206.1 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.1689/0.1689, allocations: 38.52 MB / 353.2 MB, free: 12.52 MB / 286.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.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.89 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2757, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.006613/0.2823, allocations: 5.606 MB / 0.5487 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2842, allocations: 1.142 MB / 0.5498 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.2844, allocations: 26.19 kB / 0.5498 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.2846, allocations: 83.08 kB / 0.5499 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006775/0.2853, allocations: 309.2 kB / 0.5502 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2856, allocations: 144.1 kB / 0.5503 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007306/0.2863, allocations: 0.6976 MB / 0.551 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.2866, allocations: 121.7 kB / 0.5511 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.287, allocations: 329.7 kB / 0.5515 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.2875, allocations: 341.5 kB / 0.5518 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.2876, allocations: 33.56 kB / 0.5518 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.2877, allocations: 34.03 kB / 0.5518 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2878, allocations: 162.6 kB / 0.552 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.2881, allocations: 239.5 kB / 0.5522 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.2886, allocations: 0.4922 MB / 0.5527 GB, free: 9.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2886, allocations: 0 / 0.5527 GB, free: 9.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2886, allocations: 0 / 0.5527 GB, free: 9.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2886, allocations: 1.312 kB / 0.5527 GB, free: 9.352 MB / 398.1 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.001286/0.2899, allocations: 0.7302 MB / 0.5534 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.2899, allocations: 12.81 kB / 0.5534 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.29, allocations: 57.83 kB / 0.5535 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007112/0.2907, allocations: 395 kB / 0.5539 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.2908, allocations: 27.5 kB / 0.5539 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.2908, allocations: 39.72 kB / 0.5539 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.2915, allocations: 463.2 kB / 0.5544 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2915, allocations: 1.062 kB / 0.5544 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.2916, allocations: 20.47 kB / 0.5544 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2916, allocations: 8.688 kB / 0.5544 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.292, allocations: 305 kB / 0.5547 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.294, allocations: 1.718 MB / 0.5564 GB, free: 6.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.2942, allocations: 140.9 kB / 0.5565 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.2943, allocations: 59.39 kB / 0.5566 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.2943, allocations: 1.375 kB / 0.5566 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2943, allocations: 40.98 kB / 0.5566 GB, free: 6.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.2943, allocations: 0 / 0.5566 GB, free: 6.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009385/0.2953, allocations: 0.5437 MB / 0.5571 GB, free: 5.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.2953, allocations: 104.2 kB / 0.5572 GB, free: 5.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.2957, allocations: 369.4 kB / 0.5576 GB, free: 5.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.2957, allocations: 30.75 kB / 0.5576 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.2959, allocations: 287.6 kB / 0.5579 GB, free: 5.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.296, allocations: 59.47 kB / 0.5579 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.2961, allocations: 65.66 kB / 0.558 GB, free: 4.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2962, allocations: 350.8 kB / 0.5583 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.2963, allocations: 47.97 kB / 0.5584 GB, free: 4.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.2965, allocations: 194.5 kB / 0.5586 GB, free: 4.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.2968, allocations: 274.6 kB / 0.5588 GB, free: 3.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2968, allocations: 0 / 0.5588 GB, free: 3.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004071/0.2972, allocations: 289.5 kB / 0.5591 GB, free: 3.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2973, allocations: 10.66 kB / 0.5591 GB, free: 3.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.2973, allocations: 8.484 kB / 0.5591 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/0.2973, allocations: 8 kB / 0.5591 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.2975, allocations: 71.84 kB / 0.5592 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.2975, allocations: 8 kB / 0.5592 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.2977, allocations: 15.95 kB / 0.5592 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2977, allocations: 12.44 kB / 0.5592 GB, free: 3.531 MB / 398.1 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.0001825/0.2979, allocations: 185.6 kB / 0.5594 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-05/0.298, allocations: 43.78 kB / 0.5595 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.2983, allocations: 172.7 kB / 0.5596 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2983, allocations: 4 kB / 0.5596 GB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2983, allocations: 4 kB / 0.5596 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2983, allocations: 3.984 kB / 0.5596 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.299, allocations: 0.5021 MB / 0.5601 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.299, allocations: 4 kB / 0.5601 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.2991, allocations: 43.95 kB / 0.5602 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2991, allocations: 0 / 0.5602 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2991, allocations: 4 kB / 0.5602 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2991, allocations: 0 / 0.5602 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2992, allocations: 3.938 kB / 0.5602 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.2996, allocations: 396.2 kB / 0.5606 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.077e-05/0.2996, allocations: 39.66 kB / 0.5606 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.2997, allocations: 15.97 kB / 0.5606 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.2998, allocations: 7.938 kB / 0.5606 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.2999, allocations: 7.984 kB / 0.5606 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2999, allocations: 4 kB / 0.5606 GB, free: 2.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.3001, allocations: 259.2 kB / 0.5609 GB, free: 1.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3001, allocations: 0 / 0.5609 GB, free: 1.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.3005, allocations: 68 kB / 0.5609 GB, free: 1.703 MB / 398.1 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 9.353e-05/0.3006, allocations: 99.25 kB / 0.561 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.3009, allocations: 151.6 kB / 0.5612 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3009, allocations: 1.25 kB / 0.5612 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.301, allocations: 47.92 kB / 0.5612 GB, free: 1.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.3016, allocations: 97.88 kB / 0.5613 GB, free: 1.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.303, allocations: 0.9205 MB / 0.5622 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3035, allocations: 0.8465 MB / 0.563 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.3036, allocations: 31.44 kB / 0.5631 GB, free: 15.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3036, allocations: 3.938 kB / 0.5631 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Templates: time 0.00729/0.3108, allocations: 4.684 MB / 0.5676 GB, free: 10.76 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Frequency.mat","/var/lib/jenkins1/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: 7.439387227874249]