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.001379/0.001379, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001128/0.001128, allocations: 171.9 kB / 24.91 MB, free: 8.777 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2592/0.2592, allocations: 29.42 MB / 291.2 MB, free: 2.406 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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 2.014e-06/2.014e-06, allocations: 0 / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.465e-05, allocations: 6.969 kB / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.006655/0.00668, allocations: 4.936 MB / 321.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.009576, allocations: 2.13 MB / 323.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.009817, allocations: 23.81 kB / 323.9 MB, free: 8.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.01026, allocations: 138.9 kB / 324.1 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007725/0.01103, allocations: 417.3 kB / 324.5 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.01142, allocations: 219.4 kB / 324.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.01213, allocations: 0.7276 MB / 325.4 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.01249, allocations: 357.8 kB / 325.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.01297, allocations: 438.9 kB / 326.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.01329, allocations: 243.3 kB / 326.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.714e-05/0.01334, allocations: 51.94 kB / 326.5 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.01356, allocations: 139.8 kB / 326.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.01369, allocations: 163.5 kB / 326.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.01386, allocations: 183.6 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006296/0.01449, allocations: 490.3 kB / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01449, allocations: 0 / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01449, allocations: 0 / 327.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.0145, allocations: 0 / 327.4 MB, free: 5.336 MB / 298.7 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.001041/0.01554, allocations: 0.7613 MB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.01558, allocations: 11.98 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.01568, allocations: 64.89 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.01623, allocations: 385.3 kB / 328.7 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.01626, allocations: 29.12 kB / 328.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.301e-05/0.01632, allocations: 40 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.01675, allocations: 357.6 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01676, allocations: 3.938 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.01679, allocations: 16 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.01681, allocations: 15.94 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.01699, allocations: 119.2 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.01866, allocations: 1.46 MB / 330.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.01895, allocations: 210.1 kB / 330.9 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.01901, allocations: 42.69 kB / 330.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.01904, allocations: 4 kB / 330.9 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.01922, allocations: 151.3 kB / 331.1 MB, free: 1.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.353e-06/0.01922, allocations: 0 / 331.1 MB, free: 1.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009376/0.02016, allocations: 470.4 kB / 331.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.02022, allocations: 136.5 kB / 331.7 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.02054, allocations: 364.9 kB / 332 MB, free: 428 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.02056, allocations: 33.7 kB / 332.1 MB, free: 388 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.02068, allocations: 237 kB / 332.3 MB, free: 144 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.02074, allocations: 99.19 kB / 332.4 MB, free: 44 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.02083, allocations: 65.62 kB / 332.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.02094, allocations: 354.7 kB / 332.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.021, allocations: 35.53 kB / 332.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.02114, allocations: 190 kB / 333 MB, free: 15.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.02137, allocations: 229.3 kB / 333.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02137, allocations: 0 / 333.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004285/0.0218, allocations: 287.5 kB / 333.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.02182, allocations: 8 kB / 333.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.02182, allocations: 4 kB / 333.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.02212, allocations: 92.05 kB / 333.6 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.02229, allocations: 59.91 kB / 333.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.02377, allocations: 1.685 MB / 335.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.02392, allocations: 15.94 kB / 335.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.02394, allocations: 16 kB / 335.4 MB, free: 12.79 MB / 314.7 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.0001253/0.02407, allocations: 140.5 kB / 335.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.02411, allocations: 27.97 kB / 335.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.0244, allocations: 180.9 kB / 335.7 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.02441, allocations: 7.984 kB / 335.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.02441, allocations: 0 / 335.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.02442, allocations: 8 kB / 335.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.02498, allocations: 482.8 kB / 336.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02498, allocations: 3.938 kB / 336.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.02513, allocations: 43.92 kB / 336.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.02527, allocations: 43.62 kB / 336.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.02528, allocations: 8 kB / 336.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.0266, allocations: 1.243 MB / 337.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.0266, allocations: 3.938 kB / 337.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.02697, allocations: 366.5 kB / 337.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.761e-05/0.02705, allocations: 47.58 kB / 338 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.02709, allocations: 12 kB / 338 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.02722, allocations: 12.03 kB / 338 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.02727, allocations: 23.95 kB / 338 MB, free: 9.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.02729, allocations: 8 kB / 338 MB, free: 9.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.02744, allocations: 151.5 kB / 338.2 MB, free: 9.836 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02744, allocations: 0 / 338.2 MB, free: 9.836 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004412/0.02788, allocations: 119.9 kB / 338.3 MB, free: 9.719 MB / 314.7 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.001437/0.02932, allocations: 0.5678 MB / 338.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.02983, allocations: 324.7 kB / 339.2 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.02984, allocations: 4 kB / 339.2 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.03006, allocations: 202.1 kB / 339.4 MB, free: 8.898 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.03053, allocations: 130.7 kB / 339.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.03229, allocations: 0.91 MB / 340.4 MB, free: 7.824 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.03241, allocations: 133.2 kB / 340.6 MB, free: 7.672 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.03257, allocations: 59.23 kB / 340.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.03278, allocations: 141.2 kB / 340.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of SimCode: time 9.11e-07/0.03278, allocations: 0 / 340.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of Templates: time 0.01094/0.04372, allocations: 6.985 MB / 347.7 MB, free: 0.625 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.387163540814072]