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.001005/0.001005, allocations: 83.58 kB / 21.19 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.0009327/0.0009327, 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 0.9224/0.9224, allocations: 177.1 MB / 205 MB, free: 5.301 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.218/0.218, allocations: 29.41 MB / 290.9 MB, free: 2.465 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_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.593e-06/1.593e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.91e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005469/0.005488, allocations: 5.19 MB / 374.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.00781, allocations: 2.231 MB / 377.1 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/0.008018, allocations: 27.75 kB / 377.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.008387, allocations: 158.8 kB / 377.2 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008762/0.009264, allocations: 469 kB / 377.7 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.009589, allocations: 251.4 kB / 377.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006696/0.01026, allocations: 0.8872 MB / 378.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.01058, allocations: 401.3 kB / 379.2 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/0.01097, allocations: 494.8 kB / 379.7 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.01126, allocations: 311.1 kB / 380 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.01131, allocations: 56 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.01147, allocations: 135.9 kB / 380.2 MB, free: 404 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.01159, allocations: 207.4 kB / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.01175, allocations: 215.5 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.01222, allocations: 0.5216 MB / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.01222, allocations: 0 / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01222, allocations: 0 / 381.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.01223, allocations: 0 / 381.1 MB, free: 15.46 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.0009357/0.01316, allocations: 0.9646 MB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.01319, allocations: 11.98 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.0133, allocations: 96.56 kB / 382.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.01382, allocations: 0.4907 MB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.01385, allocations: 33.12 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.01392, allocations: 48 kB / 382.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.01436, allocations: 446.6 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.01437, allocations: 11.89 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.0144, allocations: 20 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.01444, allocations: 13 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.01468, allocations: 169.7 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.01645, allocations: 2.202 MB / 385.6 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.01668, allocations: 193.1 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.01675, allocations: 63.16 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.01678, allocations: 4 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.01693, allocations: 154.8 kB / 386 MB, free: 10.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.122e-06/0.01693, allocations: 0 / 386 MB, free: 10.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009125/0.01784, allocations: 0.7599 MB / 386.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.01789, allocations: 136.5 kB / 386.9 MB, free: 9.297 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.01818, allocations: 434.6 kB / 387.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.0182, allocations: 29.7 kB / 387.4 MB, free: 8.816 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.01834, allocations: 363.1 kB / 387.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.01839, allocations: 95.23 kB / 387.8 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.01847, allocations: 79.81 kB / 387.9 MB, free: 8.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.01859, allocations: 0.5237 MB / 388.4 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.01866, allocations: 48.97 kB / 388.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.01882, allocations: 264.6 kB / 388.7 MB, free: 7.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.01906, allocations: 316 kB / 389 MB, free: 6.953 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01906, allocations: 0 / 389 MB, free: 6.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004564/0.01951, allocations: 372.4 kB / 389.4 MB, free: 6.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.01953, allocations: 8 kB / 389.4 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.01954, allocations: 4.562 kB / 389.4 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.0198, allocations: 99.58 kB / 389.5 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01993, allocations: 75.84 kB / 389.6 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.02141, allocations: 2.014 MB / 391.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.02153, allocations: 35.77 kB / 391.6 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.02155, allocations: 16.03 kB / 391.6 MB, free: 4.215 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.0001142/0.02166, allocations: 180.5 kB / 391.8 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.02171, allocations: 51.7 kB / 391.9 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.022, allocations: 227.7 kB / 392.1 MB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.022, allocations: 4 kB / 392.1 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.02201, allocations: 4 kB / 392.1 MB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.02201, allocations: 3.984 kB / 392.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.02265, allocations: 0.6608 MB / 392.8 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.02266, allocations: 0 / 392.8 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.02279, allocations: 47.91 kB / 392.8 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.0229, allocations: 39.64 kB / 392.9 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.02292, allocations: 11.98 kB / 392.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007986/0.02372, allocations: 1.83 MB / 394.7 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.02372, allocations: 0 / 394.7 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.0241, allocations: 438.4 kB / 395.1 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.02417, allocations: 55.69 kB / 395.2 MB, free: 464 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.0242, allocations: 11.98 kB / 395.2 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.02429, allocations: 8 kB / 395.2 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.02434, allocations: 27.81 kB / 395.2 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.02435, allocations: 8.031 kB / 395.2 MB, free: 408 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.02453, allocations: 283.1 kB / 395.5 MB, free: 132 kB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02453, allocations: 0 / 395.5 MB, free: 132 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.02484, allocations: 135.8 kB / 395.6 MB, free: 15.99 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.0007928/0.02563, allocations: 454.1 kB / 396.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.02607, allocations: 390.2 kB / 396.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.02607, allocations: 0 / 396.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.02627, allocations: 269.4 kB / 396.7 MB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.02665, allocations: 124.6 kB / 396.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.0281, allocations: 1.044 MB / 397.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.02818, allocations: 145.1 kB / 398 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.0283, allocations: 63.36 kB / 398.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.02836, allocations: 32.5 kB / 398.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02836, allocations: 0 / 398.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of Templates: time 0.008584/0.03694, allocations: 6.618 MB / 404.7 MB, free: 7.047 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.3331790301017463]