Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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.0007875/0.0007875, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.0007732/0.0007732, allocations: 170 kB / 23.95 MB, free: 0.6016 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.9178/0.9178, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2237/0.2237, allocations: 29.4 MB / 290.1 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: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.548e-05/1.728e-05, allocations: 6.219 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.003022/0.00304, allocations: 3.416 MB / 433.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.004233, allocations: 1.445 MB / 435.1 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.004328, allocations: 7.938 kB / 435.1 MB, free: 8.715 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.004818, allocations: 253.2 kB / 435.3 MB, free: 8.469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.005159, allocations: 290.6 kB / 435.6 MB, free: 8.184 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.005314, allocations: 123.5 kB / 435.7 MB, free: 8.062 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.005567, allocations: 338.9 kB / 436.1 MB, free: 7.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.005794, allocations: 126 kB / 436.2 MB, free: 7.609 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004783/0.006273, allocations: 207.3 kB / 436.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.006429, allocations: 143.5 kB / 436.5 MB, free: 7.266 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.006449, allocations: 19.94 kB / 436.5 MB, free: 7.246 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.006692, allocations: 287.1 kB / 436.8 MB, free: 6.965 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.006774, allocations: 115.7 kB / 436.9 MB, free: 6.852 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.00684, allocations: 67.84 kB / 437 MB, free: 6.785 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.007144, allocations: 366.9 kB / 437.4 MB, free: 6.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.007146, allocations: 4 kB / 437.4 MB, free: 6.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.007147, allocations: 0 / 437.4 MB, free: 6.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.00715, allocations: 0 / 437.4 MB, free: 6.422 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004365/0.007587, allocations: 453 kB / 437.8 MB, free: 5.949 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.007622, allocations: 11.98 kB / 437.8 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.007661, allocations: 50.73 kB / 437.9 MB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004616/0.008123, allocations: 108.7 kB / 438 MB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.00835, allocations: 213.9 kB / 438.2 MB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.008364, allocations: 12.38 kB / 438.2 MB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.008387, allocations: 20.38 kB / 438.2 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.008715, allocations: 327 kB / 438.5 MB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.008726, allocations: 4 kB / 438.5 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.008742, allocations: 4 kB / 438.5 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.008767, allocations: 15.98 kB / 438.6 MB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.009073, allocations: 307.7 kB / 438.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.01009, allocations: 1.189 MB / 440 MB, free: 3.555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.01027, allocations: 121.2 kB / 440.2 MB, free: 3.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.01032, allocations: 37.77 kB / 440.2 MB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.01033, allocations: 11.92 kB / 440.2 MB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.01035, allocations: 38.56 kB / 440.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.01035, allocations: 0 / 440.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002132/0.01057, allocations: 137.6 kB / 440.4 MB, free: 3.176 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.0106, allocations: 81.11 kB / 440.5 MB, free: 3.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01073, allocations: 215.8 kB / 440.7 MB, free: 2.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.01074, allocations: 25.7 kB / 440.7 MB, free: 2.828 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.554e-05/0.01083, allocations: 180 kB / 440.9 MB, free: 2.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.01085, allocations: 40.06 kB / 440.9 MB, free: 2.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.01089, allocations: 37.72 kB / 440.9 MB, free: 2.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.01098, allocations: 330.8 kB / 441.3 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.01102, allocations: 32.11 kB / 441.3 MB, free: 2.203 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.545e-05/0.0111, allocations: 151.6 kB / 441.4 MB, free: 2.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.01125, allocations: 200.7 kB / 441.6 MB, free: 1.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01125, allocations: 3.938 kB / 441.6 MB, free: 1.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001861/0.01144, allocations: 213.5 kB / 441.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.01145, allocations: 11.98 kB / 441.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.01145, allocations: 4 kB / 441.9 MB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01147, allocations: 8.031 kB / 441.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.01156, allocations: 47.92 kB / 441.9 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.01157, allocations: 4 kB / 441.9 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.01163, allocations: 23.81 kB / 442 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.01164, allocations: 12 kB / 442 MB, free: 1.441 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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 8.609e-05/0.01173, allocations: 149.8 kB / 442.1 MB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.01175, allocations: 23.8 kB / 442.1 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.01189, allocations: 131 kB / 442.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.0119, allocations: 0 / 442.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.0119, allocations: 4 kB / 442.3 MB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.0119, allocations: 0 / 442.3 MB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.01234, allocations: 0.5243 MB / 442.8 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01234, allocations: 4.312 kB / 442.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.01237, allocations: 23.98 kB / 442.8 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01238, allocations: 192 / 442.8 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01239, allocations: 8 kB / 442.8 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.01239, allocations: 11.88 kB / 442.8 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.01239, allocations: 11.92 kB / 442.9 MB, free: 468 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.01256, allocations: 275.9 kB / 443.1 MB, free: 144 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.01259, allocations: 23.89 kB / 443.1 MB, free: 120 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.01288, allocations: 4 kB / 443.1 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.02e-05/0.01294, allocations: 4 kB / 443.2 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.01296, allocations: 19.92 kB / 443.2 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.01297, allocations: 8 kB / 443.2 MB, free: 84 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1871/0.2, allocations: 148.2 kB / 443.3 MB, free: 53.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2, allocations: 3 kB / 443.3 MB, free: 53.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.2004, allocations: 52 kB / 443.4 MB, free: 53.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.000339/0.2007, allocations: 0.8058 MB / 444.2 MB, free: 53.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.2009, allocations: 116.3 kB / 444.3 MB, free: 53.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2009, allocations: 1.562 kB / 444.3 MB, free: 53.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.201, allocations: 48.09 kB / 444.3 MB, free: 53.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2013, allocations: 34.22 kB / 444.4 MB, free: 53.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2026, allocations: 2.285 MB / 446.7 MB, free: 51.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.572e-05/0.2027, allocations: 145.6 kB / 446.8 MB, free: 51.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.601e-05/0.2027, allocations: 34.11 kB / 446.8 MB, free: 51.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.2028, allocations: 64.59 kB / 446.9 MB, free: 51.56 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2028, allocations: 2.625 kB / 446.9 MB, free: 51.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.2164, allocations: 4.06 MB / 451 MB, free: 50.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.712/6.929, allocations: 5.969 kB / 451 MB, free: 50.56 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Generic.Test.PMeterTest.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.PMeterTest.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: 8.85181069560349]