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.002125/0.002125, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.001777/0.001777, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 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.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1868/0.1868, allocations: 38.52 MB / 348.7 MB, free: 2.652 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 75.89 kB / 487.2 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1402, allocations: 62.42 MB / 0.5367 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007574/0.1478, allocations: 5.285 MB / 0.5419 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006983/0.1548, allocations: 4.016 MB / 0.5458 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006417/0.1554, allocations: 27.81 kB / 0.5458 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009896/0.1653, allocations: 4.823 MB / 0.5505 GB, free: 9.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.1663, allocations: 326.5 kB / 0.5508 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.167, allocations: 215.7 kB / 0.551 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.1695, allocations: 1.555 MB / 0.5525 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008599/0.1704, allocations: 0.5221 MB / 0.5531 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006819/0.171, allocations: 374.7 kB / 0.5534 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008406/0.1719, allocations: 450.4 kB / 0.5538 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.172, allocations: 56 kB / 0.5539 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.1723, allocations: 64 kB / 0.554 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.1726, allocations: 259.2 kB / 0.5542 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.1731, allocations: 334.5 kB / 0.5545 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1742, allocations: 0.8094 MB / 0.5553 GB, free: 4.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1742, allocations: 0 / 0.5553 GB, free: 4.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1742, allocations: 0 / 0.5553 GB, free: 4.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.1742, allocations: 0 / 0.5553 GB, free: 4.418 MB / 414.1 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.001969/0.1762, allocations: 0.8819 MB / 0.5562 GB, free: 3.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1762, allocations: 8.031 kB / 0.5562 GB, free: 3.48 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.1763, allocations: 94.69 kB / 0.5563 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.1766, allocations: 72.5 kB / 0.5563 GB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.1777, allocations: 0.5725 MB / 0.5569 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.1778, allocations: 32.94 kB / 0.5569 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.1779, allocations: 47.98 kB / 0.557 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.179, allocations: 0.6297 MB / 0.5576 GB, free: 1.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/0.179, allocations: 3.984 kB / 0.5576 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.1791, allocations: 16 kB / 0.5576 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.1792, allocations: 48.97 kB / 0.5577 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009506/0.1802, allocations: 463.6 kB / 0.5581 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.1842, allocations: 2.511 MB / 0.5606 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/0.1847, allocations: 265.2 kB / 0.5608 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1849, allocations: 129.7 kB / 0.5609 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.185, allocations: 0.5 kB / 0.5609 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.185, allocations: 42.5 kB / 0.561 GB, free: 14.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.063e-06/0.185, allocations: 0 / 0.561 GB, free: 14.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.003144/0.1882, allocations: 1.548 MB / 0.5625 GB, free: 12.65 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.1882, allocations: 89.14 kB / 0.5626 GB, free: 12.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.1888, allocations: 413.8 kB / 0.563 GB, free: 12.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.1888, allocations: 29.7 kB / 0.563 GB, free: 12.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.1891, allocations: 312.1 kB / 0.5633 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1892, allocations: 119 kB / 0.5634 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.1894, allocations: 78.09 kB / 0.5635 GB, free: 11.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1896, allocations: 362.7 kB / 0.5638 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.1898, allocations: 136.8 kB / 0.564 GB, free: 11.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.1901, allocations: 278.3 kB / 0.5642 GB, free: 10.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.1908, allocations: 449.6 kB / 0.5646 GB, free: 10.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1908, allocations: 3.938 kB / 0.5647 GB, free: 10.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001241/0.192, allocations: 0.6758 MB / 0.5653 GB, free: 9.535 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.192, allocations: 8 kB / 0.5653 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.1921, allocations: 11.92 kB / 0.5653 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.1925, allocations: 141.6 kB / 0.5655 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.1928, allocations: 79.84 kB / 0.5655 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.197, allocations: 3.672 MB / 0.5691 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.1973, allocations: 16 kB / 0.5691 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-05/0.1974, allocations: 16 kB / 0.5692 GB, free: 5.309 MB / 430.1 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.0003509/0.1977, allocations: 245.6 kB / 0.5694 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.1978, allocations: 55.61 kB / 0.5694 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.1989, allocations: 0.5594 MB / 0.57 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1989, allocations: 4 kB / 0.57 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008142/0.1997, allocations: 478.4 kB / 0.5705 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.1998, allocations: 3.984 kB / 0.5705 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.2015, allocations: 1.001 MB / 0.5714 GB, free: 2.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2015, allocations: 4 kB / 0.5714 GB, free: 2.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.2017, allocations: 39.91 kB / 0.5715 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.2021, allocations: 96.88 kB / 0.5716 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.2021, allocations: 4 kB / 0.5716 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.2047, allocations: 2.028 MB / 0.5736 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.2047, allocations: 4.031 kB / 0.5736 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.206, allocations: 0.651 MB / 0.5742 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.2062, allocations: 144.8 kB / 0.5743 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/0.2062, allocations: 4 kB / 0.5743 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.2064, allocations: 12.06 kB / 0.5743 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.2065, allocations: 23.97 kB / 0.5744 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.2066, allocations: 11.98 kB / 0.5744 GB, free: 15.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004916/0.207, allocations: 295.1 kB / 0.5747 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.207, allocations: 0 / 0.5747 GB, free: 15.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00066/0.2077, allocations: 127.9 kB / 0.5748 GB, free: 15.2 MB / 446.1 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.001423/0.2091, allocations: 1.181 MB / 0.5759 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.2103, allocations: 0.5966 MB / 0.5765 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2103, allocations: 3.828 kB / 0.5765 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005009/0.2108, allocations: 290.7 kB / 0.5768 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.2116, allocations: 115.8 kB / 0.5769 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007379/0.2189, allocations: 4.774 MB / 0.5816 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/0.2196, allocations: 0.9204 MB / 0.5825 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.2199, allocations: 80.31 kB / 0.5825 GB, free: 6.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.2202, allocations: 179.4 kB / 0.5827 GB, free: 6.703 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.2202, allocations: 0 / 0.5827 GB, free: 6.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3326/0.5528, allocations: 10.53 MB / 0.593 GB, free: 51.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.36, allocations: 6.5 kB / 0.593 GB, free: 51.58 MB / 446.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.mat","/var/lib/jenkins1/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: 14.510271241888404]