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.000874/0.000874, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004484/0.004484, allocations: 162.7 kB / 24.7 MB, free: 9.43 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.8383/0.8383, allocations: 177.2 MB / 205 MB, free: 5.727 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.1985/0.1985, allocations: 29.41 MB / 290.9 MB, free: 2.418 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: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.831e-05, allocations: 2.281 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005202/0.005231, allocations: 5.053 MB / 436.5 MB, free: 8.008 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004423/0.009654, allocations: 3.646 MB / 440.2 MB, free: 4.348 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.009998, allocations: 27.75 kB / 440.2 MB, free: 4.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1586/0.1686, allocations: 5.357 MB / 445.6 MB, free: 46.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.1693, allocations: 329.6 kB / 445.9 MB, free: 46.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.1696, allocations: 235 kB / 446.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.1707, allocations: 1.652 MB / 447.8 MB, free: 46.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.1711, allocations: 0.519 MB / 448.3 MB, free: 46.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.1714, allocations: 0.5014 MB / 448.8 MB, free: 46.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1717, allocations: 382.3 kB / 449.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.598e-05/0.1718, allocations: 54.94 kB / 449.2 MB, free: 46.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1719, allocations: 79.34 kB / 449.3 MB, free: 46.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.172, allocations: 271.4 kB / 449.6 MB, free: 46.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1721, allocations: 217.2 kB / 449.8 MB, free: 46.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.1727, allocations: 0.8224 MB / 450.6 MB, free: 46.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1727, allocations: 0 / 450.6 MB, free: 46.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1727, allocations: 0 / 450.6 MB, free: 46.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1727, allocations: 0 / 450.6 MB, free: 46.21 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.0009333/0.1736, allocations: 0.8078 MB / 451.4 MB, free: 45.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1737, allocations: 9.906 kB / 451.4 MB, free: 45.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.1738, allocations: 74.02 kB / 451.5 MB, free: 45.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.1744, allocations: 490.9 kB / 452 MB, free: 45.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1744, allocations: 35.53 kB / 452 MB, free: 45.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.1744, allocations: 53.06 kB / 452 MB, free: 45.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.1749, allocations: 0.6309 MB / 452.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.175, allocations: 6.719 kB / 452.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.175, allocations: 19.84 kB / 452.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-05/0.1751, allocations: 54.14 kB / 452.8 MB, free: 45.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.1755, allocations: 463.5 kB / 453.2 MB, free: 45.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1769, allocations: 2.241 MB / 455.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/0.1771, allocations: 254.7 kB / 455.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.1772, allocations: 131.9 kB / 455.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1772, allocations: 3.125 kB / 455.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.1773, allocations: 35.47 kB / 455.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.1773, allocations: 0 / 455.9 MB, free: 43.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001495/0.1788, allocations: 1.248 MB / 457.1 MB, free: 42.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1788, allocations: 80.36 kB / 457.2 MB, free: 42.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.179, allocations: 377.7 kB / 457.6 MB, free: 42.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.179, allocations: 32.8 kB / 457.6 MB, free: 42.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.1791, allocations: 314 kB / 457.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.1792, allocations: 118.4 kB / 458 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.1792, allocations: 88.8 kB / 458.1 MB, free: 42.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.1793, allocations: 346.9 kB / 458.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1794, allocations: 133.3 kB / 458.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1795, allocations: 275.8 kB / 458.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.1798, allocations: 457.7 kB / 459.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1798, allocations: 4 kB / 459.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005387/0.1804, allocations: 0.5967 MB / 459.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1804, allocations: 11.47 kB / 459.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1804, allocations: 4.5 kB / 459.9 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.1806, allocations: 146.3 kB / 460 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.1808, allocations: 73.17 kB / 460.1 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.1823, allocations: 3.402 MB / 463.5 MB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.1824, allocations: 13.73 kB / 463.5 MB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1825, allocations: 20.09 kB / 463.6 MB, free: 38.08 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.0001597/0.1826, allocations: 239 kB / 463.8 MB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.1827, allocations: 49 kB / 463.8 MB, free: 37.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.1832, allocations: 497.6 kB / 464.3 MB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1832, allocations: 6.594 kB / 464.3 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003529/0.1835, allocations: 411.3 kB / 464.7 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1835, allocations: 3.375 kB / 464.7 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/0.1842, allocations: 0.856 MB / 465.6 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1842, allocations: 3.188 kB / 465.6 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1843, allocations: 41.67 kB / 465.6 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.1845, allocations: 93.05 kB / 465.7 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1845, allocations: 10.69 kB / 465.7 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008566/0.1853, allocations: 1.868 MB / 467.6 MB, free: 35.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1853, allocations: 3.406 kB / 467.6 MB, free: 35.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.1858, allocations: 0.6545 MB / 468.3 MB, free: 35.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.1859, allocations: 62.59 kB / 468.3 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1859, allocations: 7.375 kB / 468.3 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.186, allocations: 7.344 kB / 468.3 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.186, allocations: 23.19 kB / 468.4 MB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.186, allocations: 10.31 kB / 468.4 MB, free: 35.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1862, allocations: 284.3 kB / 468.6 MB, free: 34.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1862, allocations: 3.281 kB / 468.6 MB, free: 34.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003222/0.1865, allocations: 117.7 kB / 468.8 MB, free: 34.9 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 9.079e-05/0.1866, allocations: 99.98 kB / 468.9 MB, free: 34.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.1871, allocations: 0.595 MB / 469.5 MB, free: 34.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1871, allocations: 0 / 469.5 MB, free: 34.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.1873, allocations: 286.1 kB / 469.7 MB, free: 34.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1877, allocations: 102 kB / 469.8 MB, free: 34.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1888, allocations: 1.126 MB / 471 MB, free: 33.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.189, allocations: 315 kB / 471.3 MB, free: 33.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.253e-05/0.189, allocations: 36.97 kB / 471.3 MB, free: 33.49 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.189, allocations: 0 / 471.3 MB, free: 33.49 MB / 410.7 MB Notification: Performance of Templates: time 0.007119/0.1962, allocations: 9.985 MB / 481.3 MB, free: 32.6 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.269670642912388]