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.0009867/0.0009867, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.001577/0.001577, allocations: 166 kB / 23.95 MB, free: 0.5977 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.8987/0.8987, allocations: 177.1 MB / 204.2 MB, free: 5.723 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.232/0.232, 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.204e-06/2.204e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.261e-05, allocations: 6.219 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.004863/0.004896, allocations: 4.685 MB / 434.9 MB, free: 8.895 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.006689, allocations: 1.406 MB / 436.3 MB, free: 7.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.006976, allocations: 19.81 kB / 436.3 MB, free: 7.465 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.007345, allocations: 111 kB / 436.4 MB, free: 7.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005826/0.007928, allocations: 282.1 kB / 436.7 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.008232, allocations: 131.7 kB / 436.8 MB, free: 6.949 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.008898, allocations: 0.6147 MB / 437.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.009259, allocations: 283.3 kB / 437.7 MB, free: 6.047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.009684, allocations: 367 kB / 438.1 MB, free: 5.688 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.009945, allocations: 191.4 kB / 438.3 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.009985, allocations: 40 kB / 438.3 MB, free: 5.461 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.01003, allocations: 40 kB / 438.3 MB, free: 5.422 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.01012, allocations: 127.6 kB / 438.5 MB, free: 5.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.01024, allocations: 155.6 kB / 438.6 MB, free: 5.145 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004227/0.01066, allocations: 0.4985 MB / 439.1 MB, free: 4.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.01066, allocations: 4 kB / 439.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01066, allocations: 0 / 439.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.01067, allocations: 3.984 kB / 439.1 MB, free: 4.637 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.0009034/0.01158, allocations: 0.6351 MB / 439.8 MB, free: 3.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.01162, allocations: 15.98 kB / 439.8 MB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.187e-05/0.01168, allocations: 74.72 kB / 439.8 MB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.01175, allocations: 44.66 kB / 439.9 MB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.01218, allocations: 352 kB / 440.2 MB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.017e-05/0.01226, allocations: 80.97 kB / 440.3 MB, free: 3.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.01231, allocations: 39.94 kB / 440.4 MB, free: 3.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.01277, allocations: 432.3 kB / 440.8 MB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.01278, allocations: 7.891 kB / 440.8 MB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.01281, allocations: 16 kB / 440.8 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.01282, allocations: 8 kB / 440.8 MB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.01315, allocations: 274.3 kB / 441.1 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01463, allocations: 1.696 MB / 442.8 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.01487, allocations: 171.7 kB / 442.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/0.01496, allocations: 70.55 kB / 443 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.01498, allocations: 7.938 kB / 443 MB, free: 500 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.01501, allocations: 38.55 kB / 443 MB, free: 452 kB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.01501, allocations: 0 / 443 MB, free: 452 kB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.1728/0.1878, allocations: 0.6418 MB / 443.7 MB, free: 54.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1878, allocations: 109 kB / 443.8 MB, free: 54.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.188, allocations: 318.4 kB / 444.1 MB, free: 54.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.188, allocations: 28.77 kB / 444.1 MB, free: 54.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.1881, allocations: 252.5 kB / 444.4 MB, free: 54.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.1881, allocations: 69.31 kB / 444.5 MB, free: 54.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.1882, allocations: 64.19 kB / 444.5 MB, free: 54.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.1882, allocations: 346 kB / 444.9 MB, free: 53.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.055e-05/0.1883, allocations: 71.14 kB / 444.9 MB, free: 53.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.1884, allocations: 201.8 kB / 445.1 MB, free: 53.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1887, allocations: 288.2 kB / 445.4 MB, free: 53.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1887, allocations: 7.188 kB / 445.4 MB, free: 53.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002742/0.1889, allocations: 333.7 kB / 445.7 MB, free: 53.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1889, allocations: 9.375 kB / 445.7 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1889, allocations: 8.156 kB / 445.7 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.189, allocations: 6.562 kB / 445.8 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1891, allocations: 74.25 kB / 445.8 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1891, allocations: 12.34 kB / 445.8 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.1892, allocations: 14.62 kB / 445.9 MB, free: 53.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1892, allocations: 16.92 kB / 445.9 MB, free: 53.37 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.0001002/0.1893, allocations: 173.4 kB / 446 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.1894, allocations: 40.56 kB / 446.1 MB, free: 53.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.1896, allocations: 192.5 kB / 446.3 MB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1896, allocations: 3.219 kB / 446.3 MB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1896, allocations: 3.375 kB / 446.3 MB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1896, allocations: 0 / 446.3 MB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.1901, allocations: 0.5718 MB / 446.8 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1901, allocations: 3.188 kB / 446.8 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1902, allocations: 37.72 kB / 446.9 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1902, allocations: 3.906 kB / 446.9 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1902, allocations: 9.375 kB / 446.9 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1902, allocations: 3.281 kB / 446.9 MB, free: 52.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1902, allocations: 5.469 kB / 446.9 MB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1905, allocations: 448.4 kB / 447.3 MB, free: 52.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.1905, allocations: 28.25 kB / 447.4 MB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1905, allocations: 6.906 kB / 447.4 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.1906, allocations: 6.969 kB / 447.4 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1906, allocations: 14.38 kB / 447.4 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1906, allocations: 11.06 kB / 447.4 MB, free: 52.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1907, allocations: 220.6 kB / 447.6 MB, free: 52.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1907, allocations: 1.812 kB / 447.6 MB, free: 52.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000238/0.191, allocations: 70.41 kB / 447.7 MB, free: 52.23 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.000365/0.1913, allocations: 0.9825 MB / 448.7 MB, free: 51.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1915, allocations: 188.7 kB / 448.9 MB, free: 51.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1915, allocations: 3.938 kB / 448.9 MB, free: 51.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.1916, allocations: 79.09 kB / 448.9 MB, free: 51.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.192, allocations: 97.42 kB / 449 MB, free: 51.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.1941, allocations: 3.307 MB / 452.3 MB, free: 48.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.1942, allocations: 212 kB / 452.6 MB, free: 48.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1943, allocations: 45.02 kB / 452.6 MB, free: 48.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.1944, allocations: 122.2 kB / 452.7 MB, free: 48.8 MB / 410.7 MB Notification: Performance of SimCode: time 5.92e-07/0.1944, allocations: 0 / 452.7 MB, free: 48.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.2181, allocations: 8.029 MB / 460.7 MB, free: 47.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.112, allocations: 12.3 kB / 460.8 MB, free: 47.34 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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv failed! Error: Could not read variable efficiency.eta in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv. Warning: Get data of variable efficiency.eta from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv failed! Error: Could not read variable machine.motor.tau_el in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv. Warning: Get data of variable machine.motor.tau_el from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv failed! Error: Could not read variable machine.motor.w_el in file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv. Warning: Get data of variable machine.motor.w_el from file PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.146258110180497]