Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.001299/0.001299, allocations: 84 kB / 20.68 MB, free: 1.023 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.001405/0.001405, allocations: 164 kB / 23.95 MB, free: 4.156 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.375/1.375, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1698/0.1698, allocations: 29.43 MB / 290.1 MB, free: 3.273 MB / 270.1 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.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.17e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.006711/0.006732, allocations: 5.043 MB / 435.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003214/0.009946, allocations: 1.994 MB / 437.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.01019, allocations: 23.81 kB / 437.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.01068, allocations: 142.8 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009029/0.01158, allocations: 417.4 kB / 438.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.01207, allocations: 214.3 kB / 438.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.01298, allocations: 0.7392 MB / 439.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004275/0.01341, allocations: 323.9 kB / 439.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006041/0.01402, allocations: 438.7 kB / 440 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.01442, allocations: 243.3 kB / 440.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.167e-05/0.01451, allocations: 48 kB / 440.3 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.01475, allocations: 135.9 kB / 440.4 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.01492, allocations: 155.5 kB / 440.6 MB, free: 8.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.01515, allocations: 183.5 kB / 440.8 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008503/0.016, allocations: 0.7126 MB / 441.5 MB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.016, allocations: 4 kB / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01601, allocations: 0 / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.01601, allocations: 0 / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0015/0.01751, allocations: 0.8018 MB / 442.3 MB, free: 6.289 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.01755, allocations: 15.92 kB / 442.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.01765, allocations: 60.56 kB / 442.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.01842, allocations: 423.2 kB / 442.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.01845, allocations: 33.12 kB / 442.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.01852, allocations: 36 kB / 442.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.01924, allocations: 478.8 kB / 443.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.01926, allocations: 3.938 kB / 443.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.0193, allocations: 16 kB / 443.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.01932, allocations: 12 kB / 443.3 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.01979, allocations: 282.3 kB / 443.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.02181, allocations: 1.635 MB / 445.2 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/0.02234, allocations: 243.1 kB / 445.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.02249, allocations: 90.55 kB / 445.6 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.02252, allocations: 8 kB / 445.6 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.0228, allocations: 174.1 kB / 445.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.0228, allocations: 0 / 445.7 MB, free: 2.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001666/0.02446, allocations: 0.8389 MB / 446.6 MB, free: 1.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.02455, allocations: 140.5 kB / 446.7 MB, free: 1.562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.02501, allocations: 393.8 kB / 447.1 MB, free: 1.168 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.02505, allocations: 41.64 kB / 447.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.02525, allocations: 284.2 kB / 447.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.279e-05/0.02533, allocations: 91.28 kB / 447.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.02544, allocations: 65.66 kB / 447.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.0256, allocations: 350.8 kB / 447.9 MB, free: 336 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.02577, allocations: 79.97 kB / 448 MB, free: 256 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1613/0.1871, allocations: 234.7 kB / 448.2 MB, free: 29.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.1875, allocations: 312.1 kB / 448.5 MB, free: 29.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1875, allocations: 1.125 kB / 448.5 MB, free: 29.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008938/0.1884, allocations: 429.4 kB / 448.9 MB, free: 29.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1884, allocations: 9.75 kB / 449 MB, free: 29.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1884, allocations: 7.156 kB / 449 MB, free: 29.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.1888, allocations: 93.08 kB / 449.1 MB, free: 29.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.1891, allocations: 67.12 kB / 449.1 MB, free: 29.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.191, allocations: 1.872 MB / 451 MB, free: 28.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.1912, allocations: 21.28 kB / 451 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.1913, allocations: 19.03 kB / 451 MB, free: 28.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.1915, allocations: 192.3 kB / 451.2 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.1915, allocations: 41.69 kB / 451.3 MB, free: 27.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/0.1921, allocations: 300.4 kB / 451.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1921, allocations: 7.125 kB / 451.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1921, allocations: 4.797 kB / 451.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1921, allocations: 2.672 kB / 451.6 MB, free: 27.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.193, allocations: 0.6506 MB / 452.2 MB, free: 27.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.193, allocations: 3.812 kB / 452.2 MB, free: 27.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.1932, allocations: 49.73 kB / 452.3 MB, free: 27.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/0.1934, allocations: 47.64 kB / 452.3 MB, free: 27.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1935, allocations: 17.94 kB / 452.3 MB, free: 27.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009305/0.1944, allocations: 1.405 MB / 453.7 MB, free: 26.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1944, allocations: 1.188 kB / 453.7 MB, free: 26.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.1951, allocations: 0.4953 MB / 454.2 MB, free: 25.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1952, allocations: 57.2 kB / 454.3 MB, free: 25.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.1952, allocations: 8.094 kB / 454.3 MB, free: 25.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.1954, allocations: 9.641 kB / 454.3 MB, free: 25.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.1955, allocations: 28.44 kB / 454.3 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1955, allocations: 11.09 kB / 454.4 MB, free: 25.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.1958, allocations: 276.2 kB / 454.6 MB, free: 25.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1958, allocations: 0 / 454.6 MB, free: 25.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.1963, allocations: 120.4 kB / 454.7 MB, free: 25.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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 {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/0.1979, allocations: 490 kB / 455.2 MB, free: 25.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007897/0.1987, allocations: 401.6 kB / 455.6 MB, free: 25.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1987, allocations: 9.125 kB / 455.6 MB, free: 25.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.1991, allocations: 235.2 kB / 455.8 MB, free: 25.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.1997, allocations: 108.3 kB / 456 MB, free: 25.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.2012, allocations: 0.9866 MB / 456.9 MB, free: 24.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.2014, allocations: 252.4 kB / 457.2 MB, free: 24.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001929/0.2016, allocations: 64.88 kB / 457.2 MB, free: 24.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.2017, allocations: 39.67 kB / 457.3 MB, free: 24.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2017, allocations: 0 / 457.3 MB, free: 24.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01255/0.2142, allocations: 6.359 MB / 463.6 MB, free: 23.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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: 4.727193582803011]