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.001361/0.001361, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001578/0.001578, allocations: 161 kB / 24.56 MB, free: 16 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.9635/0.9635, allocations: 177.1 MB / 205 MB, free: 5.637 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.2291/0.2291, allocations: 29.41 MB / 290.9 MB, free: 2.426 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.212e-06/1.212e-06, allocations: 0 / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.015e-05, allocations: 2.312 kB / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.004925/0.004945, allocations: 4.963 MB / 374.6 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.007627, allocations: 2.087 MB / 376.7 MB, free: 3.883 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.007856, allocations: 23.81 kB / 376.7 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.0083, allocations: 146.9 kB / 376.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007145/0.009015, allocations: 413.4 kB / 377.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.009386, allocations: 219.4 kB / 377.5 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.01009, allocations: 0.7276 MB / 378.2 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003707/0.01047, allocations: 344 kB / 378.5 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.01091, allocations: 426.9 kB / 378.9 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.01121, allocations: 259.2 kB / 379.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.49e-05/0.01126, allocations: 48 kB / 379.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.01146, allocations: 139.8 kB / 379.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.01158, allocations: 163.5 kB / 379.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.01172, allocations: 183.5 kB / 379.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.01221, allocations: 490.2 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.01222, allocations: 7.984 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01222, allocations: 0 / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.01222, allocations: 0 / 380.2 MB, free: 352 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.0009958/0.01322, allocations: 0.894 MB / 381.1 MB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.01326, allocations: 11.98 kB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.01337, allocations: 88.56 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.01388, allocations: 454.7 kB / 381.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.01391, allocations: 33.12 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.313e-05/0.01396, allocations: 36 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.01436, allocations: 394 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01438, allocations: 3.938 kB / 382.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.01441, allocations: 16 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.01442, allocations: 12 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.01463, allocations: 147.7 kB / 382.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.0162, allocations: 2.033 MB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.01651, allocations: 197.1 kB / 384.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.01658, allocations: 67.16 kB / 384.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.01661, allocations: 4 kB / 384.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.01678, allocations: 164.3 kB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.01678, allocations: 0 / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001038/0.01782, allocations: 0.7316 MB / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.01787, allocations: 136.5 kB / 385.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.01816, allocations: 422.8 kB / 386 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.01818, allocations: 41.69 kB / 386 MB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.01833, allocations: 322.8 kB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.01838, allocations: 99.31 kB / 386.5 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.01845, allocations: 75.3 kB / 386.5 MB, free: 9.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01858, allocations: 0.5235 MB / 387.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.01865, allocations: 39.97 kB / 387.1 MB, free: 9.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.01881, allocations: 251.6 kB / 387.3 MB, free: 8.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.01905, allocations: 301.9 kB / 387.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01905, allocations: 0 / 387.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004524/0.0195, allocations: 352.7 kB / 388 MB, free: 7.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.01951, allocations: 4 kB / 388 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01952, allocations: 4 kB / 388 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.01981, allocations: 103.8 kB / 388.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.01993, allocations: 63.91 kB / 388.2 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.02159, allocations: 2.286 MB / 390.4 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.02171, allocations: 16 kB / 390.5 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.02173, allocations: 12 kB / 390.5 MB, free: 5.371 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.000109/0.02184, allocations: 192.4 kB / 390.7 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.02189, allocations: 55.66 kB / 390.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.02221, allocations: 233 kB / 390.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.02221, allocations: 4 kB / 390.9 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02222, allocations: 4 kB / 390.9 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02222, allocations: 0 / 390.9 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.02283, allocations: 0.6379 MB / 391.6 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.02283, allocations: 0 / 391.6 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.02296, allocations: 43.98 kB / 391.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.02308, allocations: 51.5 kB / 391.7 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.0231, allocations: 11.98 kB / 391.7 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008036/0.0239, allocations: 1.822 MB / 393.5 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.0239, allocations: 4 kB / 393.5 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.02431, allocations: 446.5 kB / 393.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.418e-05/0.02438, allocations: 59.69 kB / 394 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.02441, allocations: 8 kB / 394 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.02451, allocations: 11.94 kB / 394 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.02456, allocations: 23.89 kB / 394 MB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.02457, allocations: 11.98 kB / 394.1 MB, free: 1.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.02476, allocations: 279.1 kB / 394.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02476, allocations: 0 / 394.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003526/0.02511, allocations: 119.9 kB / 394.5 MB, free: 1.152 MB / 362.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.0008634/0.02597, allocations: 455.6 kB / 394.9 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005325/0.0265, allocations: 410 kB / 395.3 MB, free: 460 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02651, allocations: 0 / 395.3 MB, free: 460 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.02671, allocations: 269.3 kB / 395.6 MB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.0271, allocations: 117.8 kB / 395.7 MB, free: 52 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.02861, allocations: 0.9789 MB / 396.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.145e-05/0.02869, allocations: 129.2 kB / 396.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.02882, allocations: 59.19 kB / 396.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.02888, allocations: 36.48 kB / 396.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02888, allocations: 0 / 396.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of Templates: time 0.008638/0.03752, allocations: 6.459 MB / 403.3 MB, free: 8.438 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","",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.4326694910414517]