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.001064/0.001064, allocations: 80.8 kB / 21.49 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.001104/0.001104, allocations: 169.9 kB / 24.91 MB, free: 9.199 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 0.9813/0.9813, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2415/0.2415, allocations: 29.43 MB / 291.2 MB, free: 2.473 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.322e-06/1.322e-06, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.536e-05, allocations: 2.969 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.006472/0.006497, allocations: 5.205 MB / 322.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.009871, allocations: 2.278 MB / 324.4 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.01019, allocations: 27.75 kB / 324.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.01072, allocations: 158.8 kB / 324.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008967/0.01162, allocations: 461 kB / 325 MB, free: 7.816 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.01212, allocations: 255.4 kB / 325.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009579/0.01308, allocations: 0.8717 MB / 326.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004558/0.01353, allocations: 419.1 kB / 326.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005847/0.01412, allocations: 0.4989 MB / 327 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.01451, allocations: 291.1 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.01458, allocations: 52 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000258/0.01484, allocations: 147.8 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.015, allocations: 195.4 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.01519, allocations: 211.5 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.01581, allocations: 0.5255 MB / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01582, allocations: 0 / 328.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01582, allocations: 4 kB / 328.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.01582, allocations: 0 / 328.4 MB, free: 4.367 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001041/0.01686, allocations: 0.8121 MB / 329.3 MB, free: 3.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.0169, allocations: 11.98 kB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.01701, allocations: 84.86 kB / 329.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005917/0.0176, allocations: 413.3 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.01764, allocations: 37.12 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.01772, allocations: 51.89 kB / 329.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.01817, allocations: 402.2 kB / 330.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.01819, allocations: 0 / 330.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.01822, allocations: 16 kB / 330.2 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.01827, allocations: 24.92 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.01849, allocations: 137.6 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.02004, allocations: 1.538 MB / 331.9 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.02027, allocations: 192.7 kB / 332.1 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.02032, allocations: 46.69 kB / 332.2 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.02034, allocations: 4 kB / 332.2 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.02051, allocations: 142.9 kB / 332.3 MB, free: 248 kB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.292e-06/0.02051, allocations: 0 / 332.3 MB, free: 248 kB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008581/0.02137, allocations: 478.8 kB / 332.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.02142, allocations: 140.5 kB / 332.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.02173, allocations: 384.7 kB / 333.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.02175, allocations: 29.7 kB / 333.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.02188, allocations: 261.1 kB / 333.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.02194, allocations: 95.2 kB / 333.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/0.02203, allocations: 78.11 kB / 333.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.02213, allocations: 354.7 kB / 334.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.02219, allocations: 35.81 kB / 334.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.02233, allocations: 204 kB / 334.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.02257, allocations: 244 kB / 334.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02257, allocations: 0 / 334.6 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004327/0.023, allocations: 287.6 kB / 334.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.02302, allocations: 8 kB / 334.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.02302, allocations: 7.938 kB / 334.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.02331, allocations: 92.03 kB / 335 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.02352, allocations: 83.83 kB / 335 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.02475, allocations: 1.417 MB / 336.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.02491, allocations: 19.94 kB / 336.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.02493, allocations: 16 kB / 336.5 MB, free: 11.73 MB / 314.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.0001162/0.02504, allocations: 140.6 kB / 336.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.02509, allocations: 35.91 kB / 336.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.02536, allocations: 175.9 kB / 336.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.02536, allocations: 4 kB / 336.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.02537, allocations: 0 / 336.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02537, allocations: 4 kB / 336.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.02599, allocations: 485.8 kB / 337.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.02599, allocations: 8 kB / 337.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.02619, allocations: 55.84 kB / 337.4 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.02631, allocations: 39.64 kB / 337.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.02632, allocations: 7.984 kB / 337.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006885/0.02701, allocations: 1.254 MB / 338.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02701, allocations: 4 kB / 338.7 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.02729, allocations: 356.1 kB / 339 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.02735, allocations: 43.7 kB / 339.1 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.02738, allocations: 11.94 kB / 339.1 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.02747, allocations: 11.98 kB / 339.1 MB, free: 8.953 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.02751, allocations: 19.91 kB / 339.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.02752, allocations: 12.03 kB / 339.1 MB, free: 8.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.02764, allocations: 159.5 kB / 339.3 MB, free: 8.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02764, allocations: 0 / 339.3 MB, free: 8.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.02792, allocations: 131.9 kB / 339.4 MB, free: 8.637 MB / 314.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.001057/0.02898, allocations: 0.5588 MB / 340 MB, free: 8.379 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.02933, allocations: 328.2 kB / 340.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.02933, allocations: 4 kB / 340.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.0295, allocations: 206.7 kB / 340.5 MB, free: 7.824 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.02982, allocations: 127.4 kB / 340.6 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.03115, allocations: 0.9787 MB / 341.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.224e-05/0.03123, allocations: 141.2 kB / 341.7 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.03135, allocations: 55.38 kB / 341.8 MB, free: 6.473 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.03153, allocations: 153.3 kB / 341.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03153, allocations: 0 / 341.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of Templates: time 0.008885/0.04042, allocations: 7.181 MB / 349.1 MB, free: 15.28 MB / 330.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 -s gbode -gbm=radauIIA3 -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.2536541162990034]