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.002801/0.002801, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.003331/0.003331, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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.55/1.55, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.321/0.321, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.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.363e-06/1.363e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.715e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008346/0.008373, allocations: 5.273 MB / 374.2 MB, free: 6 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.0123, allocations: 2.079 MB / 376.2 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002746/0.01257, allocations: 23.81 kB / 376.3 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.01311, allocations: 146.8 kB / 376.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.01413, allocations: 409.4 kB / 376.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005205/0.01465, allocations: 227.3 kB / 377 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.01579, allocations: 0.7315 MB / 377.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005447/0.01634, allocations: 348 kB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006966/0.01703, allocations: 434.8 kB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.01754, allocations: 247.3 kB / 378.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01764, allocations: 48 kB / 378.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.01794, allocations: 139.8 kB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.01814, allocations: 163.5 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.01841, allocations: 183.5 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.01944, allocations: 0.7087 MB / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01944, allocations: 0 / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01944, allocations: 0 / 380 MB, free: 148 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01945, allocations: 4 kB / 380 MB, free: 144 kB / 346.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.00186/0.02131, allocations: 0.9406 MB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.02137, allocations: 15.98 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.02157, allocations: 88.56 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009329/0.0225, allocations: 442.1 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/0.02254, allocations: 33.12 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/0.02263, allocations: 40 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.02344, allocations: 482 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.02346, allocations: 3.938 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.0235, allocations: 16 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.02352, allocations: 16 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.02399, allocations: 218.3 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.02698, allocations: 2.196 MB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.02754, allocations: 257.1 kB / 384.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.02773, allocations: 75.17 kB / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.02777, allocations: 4 kB / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.02811, allocations: 198.5 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.02811, allocations: 0 / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001862/0.02997, allocations: 0.8341 MB / 385.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.03009, allocations: 132.8 kB / 385.9 MB, free: 9.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.03073, allocations: 0.5181 MB / 386.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.03077, allocations: 29.7 kB / 386.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.03109, allocations: 347 kB / 386.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.0312, allocations: 103.2 kB / 386.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.03136, allocations: 87.31 kB / 387 MB, free: 8.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003417/0.0317, allocations: 0.5508 MB / 387.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.03187, allocations: 67.97 kB / 387.6 MB, free: 8.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.03224, allocations: 291.6 kB / 387.9 MB, free: 7.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.03277, allocations: 358.1 kB / 388.3 MB, free: 7.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.03277, allocations: 3.938 kB / 388.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009361/0.0337, allocations: 424.6 kB / 388.7 MB, free: 6.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.03373, allocations: 11.98 kB / 388.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.03374, allocations: 4 kB / 388.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/0.03433, allocations: 111.9 kB / 388.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.03458, allocations: 63.91 kB / 388.9 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.03773, allocations: 2.458 MB / 391.3 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.03799, allocations: 15.98 kB / 391.3 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.03803, allocations: 16 kB / 391.4 MB, free: 4.059 MB / 362.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.0002903/0.03832, allocations: 224.5 kB / 391.6 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.03842, allocations: 59.59 kB / 391.6 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.03916, allocations: 285.1 kB / 391.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.03916, allocations: 0 / 391.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.03917, allocations: 4 kB / 391.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.03917, allocations: 3.938 kB / 391.9 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.04048, allocations: 0.7784 MB / 392.7 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.04049, allocations: 8 kB / 392.7 MB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.04073, allocations: 39.97 kB / 392.7 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.04097, allocations: 55.58 kB / 392.8 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.04099, allocations: 4 kB / 392.8 MB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.04283, allocations: 1.932 MB / 394.7 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.04284, allocations: 4 kB / 394.7 MB, free: 484 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/0.04373, allocations: 0.5279 MB / 395.3 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.04387, allocations: 51.69 kB / 395.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.04392, allocations: 8 kB / 395.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.04413, allocations: 11.94 kB / 395.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.0442, allocations: 23.95 kB / 395.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/0.04422, allocations: 12.03 kB / 395.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003922/0.04461, allocations: 327.1 kB / 395.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04461, allocations: 0 / 395.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005656/0.04518, allocations: 127.9 kB / 395.8 MB, free: 15.37 MB / 378.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.002909/0.04809, allocations: 489.9 kB / 396.3 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009922/0.04908, allocations: 465.6 kB / 396.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.04908, allocations: 4.188 kB / 396.8 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.04956, allocations: 301.5 kB / 397 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.05026, allocations: 123.4 kB / 397.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.05213, allocations: 0.987 MB / 398.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.05243, allocations: 255.9 kB / 398.4 MB, free: 12.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001971/0.05263, allocations: 55.25 kB / 398.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.05274, allocations: 40.48 kB / 398.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05274, allocations: 0 / 398.5 MB, free: 12.78 MB / 378.7 MB Notification: Performance of Templates: time 0.0144/0.06713, allocations: 6.442 MB / 404.9 MB, free: 6.441 MB / 378.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","/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: 5.041025531012565]