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.001907/0.001907, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.001982/0.001982, allocations: 161.3 kB / 24.27 MB, free: 152 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.583/1.583, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.2939/0.2939, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.956e-06/2.956e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.696e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.01233/0.01237, allocations: 5.46 MB / 374.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003479/0.01585, allocations: 1.095 MB / 375.4 MB, free: 4.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.01632, allocations: 27.75 kB / 375.4 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.0168, allocations: 87.2 kB / 375.5 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.01825, allocations: 314 kB / 375.8 MB, free: 4.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.01882, allocations: 139.7 kB / 376 MB, free: 4.184 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.01994, allocations: 0.716 MB / 376.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.02022, allocations: 125.1 kB / 376.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008999/0.02112, allocations: 426.6 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006491/0.02177, allocations: 303.2 kB / 377.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.549e-05/0.02186, allocations: 32 kB / 377.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.02198, allocations: 36 kB / 377.6 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.02221, allocations: 175.5 kB / 377.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.02249, allocations: 167.6 kB / 377.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.02318, allocations: 494.2 kB / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.02318, allocations: 0 / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02318, allocations: 0 / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.0232, allocations: 0 / 378.4 MB, free: 1.734 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.001651/0.02485, allocations: 0.852 MB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.02489, allocations: 8.031 kB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.02506, allocations: 88.55 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000857/0.02592, allocations: 403.6 kB / 379.7 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.02595, allocations: 25.38 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.402e-05/0.02603, allocations: 48.12 kB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.02676, allocations: 403.9 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.02678, allocations: 0 / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.02682, allocations: 16 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.02683, allocations: 12 kB / 380.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.02725, allocations: 180.7 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.03001, allocations: 2.081 MB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.03031, allocations: 161.1 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.03043, allocations: 67.09 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.03046, allocations: 0 / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.0305, allocations: 41.39 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.0305, allocations: 4 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001172/0.03167, allocations: 0.5619 MB / 383.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.525e-05/0.03175, allocations: 106.8 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.03232, allocations: 470.5 kB / 383.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.03235, allocations: 29.7 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.03267, allocations: 346.7 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.03275, allocations: 67.47 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.03287, allocations: 71.31 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003227/0.03319, allocations: 0.5314 MB / 384.9 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.03331, allocations: 51.98 kB / 385 MB, free: 10.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.03362, allocations: 260.8 kB / 385.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.03408, allocations: 332.9 kB / 385.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.03409, allocations: 0 / 385.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005377/0.03463, allocations: 313.3 kB / 385.9 MB, free: 9.703 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.03465, allocations: 8.625 kB / 385.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.03466, allocations: 4 kB / 385.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.03468, allocations: 16.42 kB / 385.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.03495, allocations: 71.84 kB / 386 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.03496, allocations: 8 kB / 386 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.03514, allocations: 12 kB / 386 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.03516, allocations: 16.08 kB / 386 MB, free: 9.57 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.0002145/0.03538, allocations: 200.4 kB / 386.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.03547, allocations: 43.7 kB / 386.2 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.03581, allocations: 172.8 kB / 386.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.03581, allocations: 0 / 386.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.03582, allocations: 8 kB / 386.4 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.03582, allocations: 0 / 386.4 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.03677, allocations: 0.5477 MB / 387 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.03677, allocations: 0 / 387 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.03697, allocations: 35.92 kB / 387 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.03698, allocations: 4 kB / 387 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.037, allocations: 4 kB / 387 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.037, allocations: 4 kB / 387 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.03701, allocations: 3.938 kB / 387 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.03773, allocations: 0.4973 MB / 387.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.03781, allocations: 47.66 kB / 387.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.03786, allocations: 4 kB / 387.6 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.03802, allocations: 4 kB / 387.6 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.03806, allocations: 11.98 kB / 387.6 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.03807, allocations: 4 kB / 387.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003591/0.03843, allocations: 295.1 kB / 387.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03843, allocations: 0 / 387.9 MB, free: 7.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000435/0.03886, allocations: 75.94 kB / 387.9 MB, free: 7.535 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.0001338/0.039, allocations: 95.25 kB / 388 MB, free: 7.434 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.03936, allocations: 175.3 kB / 388.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.03937, allocations: 0 / 388.2 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.03949, allocations: 70.09 kB / 388.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.04021, allocations: 93.73 kB / 388.4 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.04178, allocations: 0.799 MB / 389.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.04208, allocations: 239.8 kB / 389.4 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.04223, allocations: 43.25 kB / 389.4 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.492e-05/0.0423, allocations: 28.5 kB / 389.5 MB, free: 5.926 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.0423, allocations: 0 / 389.5 MB, free: 5.926 MB / 362.7 MB Notification: Performance of Templates: time 0.008813/0.05112, allocations: 3.275 MB / 392.7 MB, free: 2.734 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","/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.844876287970692]