Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.0008072/0.0008072, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0009704/0.0009704, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9362/0.9362, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.2229/0.2229, allocations: 29.41 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.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.695e-05, allocations: 2.281 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.00524/0.005257, allocations: 5.063 MB / 435.3 MB, free: 8.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004641/0.009898, allocations: 3.65 MB / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.01018, allocations: 19.81 kB / 438.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1798/0.19, allocations: 5.362 MB / 444.3 MB, free: 46.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.1909, allocations: 335 kB / 444.6 MB, free: 46.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.1913, allocations: 223.6 kB / 444.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.1927, allocations: 1.662 MB / 446.5 MB, free: 46.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.1932, allocations: 0.5195 MB / 447 MB, free: 46.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.1936, allocations: 0.5018 MB / 447.5 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003327/0.1939, allocations: 380.4 kB / 447.9 MB, free: 46.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.194, allocations: 57.22 kB / 448 MB, free: 46.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1941, allocations: 74.77 kB / 448 MB, free: 46.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1942, allocations: 272.2 kB / 448.3 MB, free: 46.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1944, allocations: 217 kB / 448.5 MB, free: 46.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.1949, allocations: 0.8185 MB / 449.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1949, allocations: 0 / 449.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1949, allocations: 0 / 449.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1949, allocations: 0 / 449.3 MB, free: 46.26 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.000972/0.1959, allocations: 0.8097 MB / 450.1 MB, free: 45.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1959, allocations: 15.58 kB / 450.2 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.459e-05/0.196, allocations: 91.2 kB / 450.2 MB, free: 45.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.1962, allocations: 76.2 kB / 450.3 MB, free: 45.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.1968, allocations: 493.2 kB / 450.8 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1968, allocations: 40.06 kB / 450.8 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.1968, allocations: 43.36 kB / 450.9 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.1974, allocations: 0.6327 MB / 451.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.1974, allocations: 5.594 kB / 451.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.1974, allocations: 23.56 kB / 451.5 MB, free: 45.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.1975, allocations: 51.64 kB / 451.6 MB, free: 45.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.1979, allocations: 469.7 kB / 452.1 MB, free: 45.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.1995, allocations: 2.303 MB / 454.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.1998, allocations: 270.4 kB / 454.6 MB, free: 43.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2, allocations: 130.6 kB / 454.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2, allocations: 2.938 kB / 454.7 MB, free: 43.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2, allocations: 38.8 kB / 454.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/0.2, allocations: 0 / 454.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001777/0.2018, allocations: 1.245 MB / 456 MB, free: 42.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2018, allocations: 83.52 kB / 456.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.2021, allocations: 417.6 kB / 456.5 MB, free: 42.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2021, allocations: 33.05 kB / 456.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.2023, allocations: 314.5 kB / 456.9 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.2023, allocations: 109.4 kB / 457 MB, free: 42.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.2024, allocations: 85.44 kB / 457 MB, free: 42.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.2025, allocations: 354.2 kB / 457.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2026, allocations: 137 kB / 457.5 MB, free: 41.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2028, allocations: 274.2 kB / 457.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.2031, allocations: 450.5 kB / 458.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2032, allocations: 3.422 kB / 458.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006006/0.2038, allocations: 0.6077 MB / 458.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2038, allocations: 6.25 kB / 458.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2038, allocations: 3.188 kB / 458.9 MB, free: 40.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.204, allocations: 142 kB / 459 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.2042, allocations: 76 kB / 459.1 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.206, allocations: 3.452 MB / 462.5 MB, free: 38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.2062, allocations: 18.41 kB / 462.5 MB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.2062, allocations: 25.88 kB / 462.6 MB, free: 37.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (42): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003059/0.2065, allocations: 227.4 kB / 462.8 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.2066, allocations: 42.62 kB / 462.8 MB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/0.2073, allocations: 0.5019 MB / 463.3 MB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2073, allocations: 3.219 kB / 463.3 MB, free: 37.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004847/0.2078, allocations: 406.3 kB / 463.7 MB, free: 37.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2078, allocations: 7.156 kB / 463.7 MB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.2089, allocations: 0.9227 MB / 464.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2089, allocations: 2.938 kB / 464.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.209, allocations: 49.17 kB / 464.7 MB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/0.2092, allocations: 86.38 kB / 464.8 MB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2092, allocations: 11.25 kB / 464.8 MB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009405/0.2102, allocations: 1.898 MB / 466.7 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2102, allocations: 0 / 466.7 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.2107, allocations: 0.659 MB / 467.4 MB, free: 34.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.2108, allocations: 62.48 kB / 467.4 MB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.2108, allocations: 11.03 kB / 467.4 MB, free: 34.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2109, allocations: 7.375 kB / 467.4 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.211, allocations: 20.8 kB / 467.5 MB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.211, allocations: 13.31 kB / 467.5 MB, free: 34.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.2112, allocations: 297.7 kB / 467.8 MB, free: 34.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2112, allocations: 7.312 kB / 467.8 MB, free: 34.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004569/0.2117, allocations: 119.5 kB / 467.9 MB, free: 34.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007165/0.2124, allocations: 1.183 MB / 469.1 MB, free: 33.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.213, allocations: 0.5836 MB / 469.7 MB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.213, allocations: 3.188 kB / 469.7 MB, free: 33.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.2133, allocations: 298.4 kB / 470 MB, free: 33.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.2137, allocations: 111.4 kB / 470.1 MB, free: 33.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.2173, allocations: 4.558 MB / 474.6 MB, free: 30.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.2176, allocations: 325 kB / 474.9 MB, free: 30.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.2177, allocations: 74.81 kB / 475 MB, free: 30.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.2179, allocations: 184.7 kB / 475.2 MB, free: 30.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.2179, allocations: 0 / 475.2 MB, free: 30.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.2445, allocations: 11.55 MB / 486.7 MB, free: 28.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.513, allocations: 12.02 kB / 486.8 MB, free: 28.49 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASMcharacteristic.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv failed! Error: Could not read variable asm.motor.slip in file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv. Warning: Get data of variable asm.motor.slip from file PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.568706578575075]