Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.0008966/0.0008966, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009156/0.0009156, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9156/0.9156, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2566/0.2566, 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.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.77e-05/3.978e-05, allocations: 8.609 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.00571/0.00575, allocations: 4.681 MB / 434.9 MB, free: 8.883 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.007968, allocations: 1.406 MB / 436.3 MB, free: 7.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/0.008349, allocations: 23.75 kB / 436.3 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.008798, allocations: 107.1 kB / 436.4 MB, free: 7.344 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007166/0.009515, allocations: 282.1 kB / 436.7 MB, free: 7.066 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.009856, allocations: 135.8 kB / 436.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007443/0.0106, allocations: 0.6069 MB / 437.4 MB, free: 6.324 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.011, allocations: 299.2 kB / 437.7 MB, free: 6.023 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.0115, allocations: 351.1 kB / 438.1 MB, free: 5.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.01182, allocations: 191.5 kB / 438.3 MB, free: 5.492 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.773e-05/0.01187, allocations: 40 kB / 438.3 MB, free: 5.453 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.01192, allocations: 40 kB / 438.3 MB, free: 5.414 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.01203, allocations: 139.5 kB / 438.5 MB, free: 5.277 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.01218, allocations: 151.7 kB / 438.6 MB, free: 5.129 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005077/0.01269, allocations: 0.5024 MB / 439.1 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01269, allocations: 0 / 439.1 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01269, allocations: 0 / 439.1 MB, free: 4.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.0127, allocations: 0 / 439.1 MB, free: 4.625 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001173/0.01388, allocations: 0.6429 MB / 439.8 MB, free: 3.953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.01393, allocations: 11.98 kB / 439.8 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.224e-05/0.014, allocations: 74.72 kB / 439.8 MB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.01408, allocations: 48.66 kB / 439.9 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.01463, allocations: 344 kB / 440.2 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.01474, allocations: 80.97 kB / 440.3 MB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.0148, allocations: 39.94 kB / 440.3 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.01532, allocations: 440.2 kB / 440.8 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.01534, allocations: 3.953 kB / 440.8 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.01537, allocations: 16 kB / 440.8 MB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.01538, allocations: 12 kB / 440.8 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.01575, allocations: 270.3 kB / 441.1 MB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.01782, allocations: 1.708 MB / 442.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.01805, allocations: 163.6 kB / 442.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.659e-05/0.01814, allocations: 70.67 kB / 443 MB, free: 488 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.01816, allocations: 4 kB / 443 MB, free: 484 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.01819, allocations: 38.55 kB / 443.1 MB, free: 436 kB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.01819, allocations: 4 kB / 443.1 MB, free: 432 kB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1938/0.2119, allocations: 0.6345 MB / 443.7 MB, free: 54.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.212, allocations: 109.9 kB / 443.8 MB, free: 54.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.2122, allocations: 324.8 kB / 444.1 MB, free: 54.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2123, allocations: 31.8 kB / 444.1 MB, free: 54.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.2123, allocations: 242.7 kB / 444.4 MB, free: 54.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.2124, allocations: 76.62 kB / 444.5 MB, free: 54.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.2125, allocations: 61.61 kB / 444.5 MB, free: 54.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.2125, allocations: 345.1 kB / 444.9 MB, free: 53.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-05/0.2126, allocations: 70.88 kB / 444.9 MB, free: 53.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.2127, allocations: 205 kB / 445.1 MB, free: 53.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.2129, allocations: 283.8 kB / 445.4 MB, free: 53.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2129, allocations: 7.031 kB / 445.4 MB, free: 53.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003076/0.2132, allocations: 335.5 kB / 445.7 MB, free: 53.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2133, allocations: 6.344 kB / 445.7 MB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2133, allocations: 8.219 kB / 445.7 MB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2133, allocations: 9.734 kB / 445.8 MB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2135, allocations: 73.39 kB / 445.8 MB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2135, allocations: 13.58 kB / 445.8 MB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.2136, allocations: 13.12 kB / 445.9 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.2136, allocations: 19.69 kB / 445.9 MB, free: 53.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * 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.0001215/0.2137, allocations: 175.6 kB / 446 MB, free: 53.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.2137, allocations: 34.94 kB / 446.1 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.214, allocations: 194.2 kB / 446.3 MB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.214, allocations: 3.25 kB / 446.3 MB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.214, allocations: 0 / 446.3 MB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.214, allocations: 7.062 kB / 446.3 MB, free: 53.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.2145, allocations: 0.5659 MB / 446.8 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2145, allocations: 3.188 kB / 446.8 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.2146, allocations: 37.22 kB / 446.9 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2146, allocations: 3.062 kB / 446.9 MB, free: 52.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2147, allocations: 9.766 kB / 446.9 MB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.2147, allocations: 7.031 kB / 446.9 MB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2147, allocations: 3.844 kB / 446.9 MB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.215, allocations: 451.5 kB / 447.4 MB, free: 52.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.215, allocations: 29.19 kB / 447.4 MB, free: 52.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.215, allocations: 6.078 kB / 447.4 MB, free: 52.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.2151, allocations: 10.52 kB / 447.4 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.2152, allocations: 16.64 kB / 447.4 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.2152, allocations: 10.94 kB / 447.4 MB, free: 52.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.2153, allocations: 217.7 kB / 447.6 MB, free: 52.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2153, allocations: 0 / 447.6 MB, free: 52.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.2156, allocations: 71.78 kB / 447.7 MB, free: 52.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * 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 (20): * Single equations (assignments): 19 * 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.0003898/0.216, allocations: 0.9768 MB / 448.7 MB, free: 51.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.2162, allocations: 195.1 kB / 448.9 MB, free: 51.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2162, allocations: 0 / 448.9 MB, free: 51.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.2163, allocations: 70.81 kB / 448.9 MB, free: 51.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.2167, allocations: 103.2 kB / 449 MB, free: 51.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.2191, allocations: 3.311 MB / 452.4 MB, free: 48.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2192, allocations: 208.7 kB / 452.6 MB, free: 48.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.2193, allocations: 46.59 kB / 452.6 MB, free: 48.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2194, allocations: 121.5 kB / 452.7 MB, free: 48.75 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2194, allocations: 0 / 452.7 MB, free: 48.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.2416, allocations: 8.023 MB / 460.7 MB, free: 47.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.597/6.838, allocations: 10.09 kB / 460.8 MB, free: 47.3 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-05 PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.83722439687699]