Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001097/0.001097, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.00181/0.00181, allocations: 161 kB / 24.56 MB, free: 12 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.03/1.03, allocations: 177.1 MB / 205 MB, free: 5.621 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.2333/0.2333, allocations: 29.42 MB / 290.9 MB, free: 2.504 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_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.762e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007397/0.007425, allocations: 5.197 MB / 374.8 MB, free: 5.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003968/0.01139, allocations: 2.227 MB / 377.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005283/0.01192, allocations: 27.75 kB / 377.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006539/0.01257, allocations: 158.8 kB / 377.2 MB, free: 3.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.01399, allocations: 469.1 kB / 377.7 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007421/0.01473, allocations: 263.3 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.01635, allocations: 0.8906 MB / 378.8 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006494/0.017, allocations: 397.3 kB / 379.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.01805, allocations: 0.5027 MB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006754/0.01872, allocations: 303.1 kB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.01888, allocations: 60 kB / 380.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.01927, allocations: 139.8 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.01949, allocations: 199.4 kB / 380.4 MB, free: 164 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.01985, allocations: 207.6 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.02083, allocations: 0.5294 MB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.02084, allocations: 4 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.02084, allocations: 0 / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.02086, allocations: 0 / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001873/0.02273, allocations: 0.9568 MB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.02278, allocations: 11.98 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.02296, allocations: 96.56 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008018/0.02376, allocations: 494.5 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.0238, allocations: 37.12 kB / 382.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.02391, allocations: 44 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/0.0246, allocations: 442.6 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.02463, allocations: 3.953 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.054e-05/0.02468, allocations: 24 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-05/0.02475, allocations: 16.98 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.02517, allocations: 165.8 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.02755, allocations: 2.214 MB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.02792, allocations: 185.2 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.02803, allocations: 67.09 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.02806, allocations: 4 kB / 385.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.0283, allocations: 150.9 kB / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.0283, allocations: 0 / 386 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001489/0.02979, allocations: 0.7638 MB / 386.8 MB, free: 9.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.02985, allocations: 132.5 kB / 386.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/0.03043, allocations: 434.6 kB / 387.4 MB, free: 8.836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.0305, allocations: 29.7 kB / 387.4 MB, free: 8.801 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.03079, allocations: 362.8 kB / 387.7 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.121e-05/0.03086, allocations: 91.45 kB / 387.8 MB, free: 8.348 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.03096, allocations: 75.86 kB / 387.9 MB, free: 8.262 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.0311, allocations: 0.5315 MB / 388.4 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.03121, allocations: 48.97 kB / 388.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.03139, allocations: 268.6 kB / 388.7 MB, free: 7.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.03166, allocations: 311.1 kB / 389 MB, free: 6.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.03166, allocations: 0 / 389 MB, free: 6.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006366/0.0323, allocations: 380.4 kB / 389.4 MB, free: 6.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.03232, allocations: 8 kB / 389.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.03233, allocations: 4.562 kB / 389.4 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.03265, allocations: 91.59 kB / 389.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.03281, allocations: 75.84 kB / 389.6 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.03429, allocations: 2.018 MB / 391.6 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.03446, allocations: 23.88 kB / 391.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.03448, allocations: 20.03 kB / 391.7 MB, free: 4.195 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 39 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.03464, allocations: 184.4 kB / 391.8 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.0347, allocations: 51.72 kB / 391.9 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.03505, allocations: 227.7 kB / 392.1 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.03505, allocations: 4 kB / 392.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.03506, allocations: 4 kB / 392.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.03506, allocations: 3.984 kB / 392.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.03582, allocations: 0.653 MB / 392.8 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.03582, allocations: 4 kB / 392.8 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.03596, allocations: 39.97 kB / 392.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.03608, allocations: 47.58 kB / 392.9 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.03611, allocations: 11.98 kB / 392.9 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008953/0.037, allocations: 1.834 MB / 394.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.037, allocations: 0 / 394.7 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.03742, allocations: 442.3 kB / 395.1 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.0375, allocations: 51.7 kB / 395.2 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.03753, allocations: 11.98 kB / 395.2 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.03763, allocations: 8 kB / 395.2 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.03769, allocations: 31.84 kB / 395.2 MB, free: 388 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.0377, allocations: 4 kB / 395.2 MB, free: 384 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.0379, allocations: 283.1 kB / 395.5 MB, free: 108 kB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0379, allocations: 0 / 395.5 MB, free: 108 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004276/0.03833, allocations: 139.8 kB / 395.7 MB, free: 15.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,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 (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 {(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.001002/0.03933, allocations: 451.5 kB / 396.1 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.03984, allocations: 386.1 kB / 396.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.03985, allocations: 0 / 396.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.04006, allocations: 270.6 kB / 396.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.0405, allocations: 125.6 kB / 396.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.04223, allocations: 1.048 MB / 397.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.04233, allocations: 145.1 kB / 398 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.04249, allocations: 63.36 kB / 398.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.04255, allocations: 36.48 kB / 398.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04255, allocations: 0 / 398.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of Templates: time 0.009423/0.05197, allocations: 7.008 MB / 405.2 MB, free: 6.641 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.3905606232583523]