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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1703/0.1703, allocations: 38.53 MB / 344.5 MB, free: 2.551 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002037/0.002037, allocations: 71.88 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3616, allocations: 61.24 MB / 0.5306 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.006865/0.3685, allocations: 5.858 MB / 0.5363 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.3714, allocations: 2.148 MB / 0.5384 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002599/0.3716, allocations: 14.94 kB / 0.5384 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.3722, allocations: 167.8 kB / 0.5386 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008933/0.3731, allocations: 428.2 kB / 0.539 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.3736, allocations: 248.6 kB / 0.5392 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.3747, allocations: 0.8407 MB / 0.54 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00049/0.3752, allocations: 378.3 kB / 0.5404 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/0.3757, allocations: 360.8 kB / 0.5407 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.3762, allocations: 355.9 kB / 0.5411 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/0.3762, allocations: 53.25 kB / 0.5411 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3765, allocations: 112.2 kB / 0.5412 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.3766, allocations: 184.5 kB / 0.5414 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.3769, allocations: 303.6 kB / 0.5417 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000863/0.3778, allocations: 0.7384 MB / 0.5424 GB, free: 13.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3778, allocations: 0 / 0.5424 GB, free: 13.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3778, allocations: 1.5 kB / 0.5424 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.3778, allocations: 0 / 0.5424 GB, free: 13.01 MB / 398.1 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.001621/0.3794, allocations: 0.9109 MB / 0.5433 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3795, allocations: 16.52 kB / 0.5433 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.3796, allocations: 64.58 kB / 0.5434 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.3804, allocations: 0.5255 MB / 0.5439 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3805, allocations: 34.38 kB / 0.5439 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.3806, allocations: 48.92 kB / 0.544 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.3814, allocations: 0.5106 MB / 0.5445 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.3814, allocations: 5.094 kB / 0.5445 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.3815, allocations: 21.23 kB / 0.5445 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.389e-05/0.3815, allocations: 19.31 kB / 0.5445 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.3821, allocations: 330.3 kB / 0.5448 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.3851, allocations: 2.071 MB / 0.5468 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.3856, allocations: 228.8 kB / 0.5471 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.3857, allocations: 77.05 kB / 0.5471 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3858, allocations: 3.281 kB / 0.5471 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.386, allocations: 166.2 kB / 0.5473 GB, free: 9.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 5.19e-06/0.386, allocations: 7.984 kB / 0.5473 GB, free: 8.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001892/0.3879, allocations: 0.9396 MB / 0.5482 GB, free: 8.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.388, allocations: 131.7 kB / 0.5484 GB, free: 8.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005431/0.3886, allocations: 433.8 kB / 0.5488 GB, free: 7.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.3886, allocations: 38.73 kB / 0.5488 GB, free: 7.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.3888, allocations: 299.8 kB / 0.5491 GB, free: 7.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.3889, allocations: 91.03 kB / 0.5492 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.3891, allocations: 74.64 kB / 0.5492 GB, free: 7.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3892, allocations: 356.1 kB / 0.5496 GB, free: 7.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3894, allocations: 85.58 kB / 0.5497 GB, free: 7.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.3897, allocations: 226 kB / 0.5499 GB, free: 6.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.3901, allocations: 330.5 kB / 0.5502 GB, free: 6.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3902, allocations: 2.25 kB / 0.5502 GB, free: 6.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008988/0.3911, allocations: 445.7 kB / 0.5506 GB, free: 6.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3911, allocations: 7.219 kB / 0.5506 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3911, allocations: 4.312 kB / 0.5506 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/0.3915, allocations: 90.12 kB / 0.5507 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.3918, allocations: 72.47 kB / 0.5508 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.394, allocations: 1.83 MB / 0.5526 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.3942, allocations: 15.44 kB / 0.5526 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.3943, allocations: 18.19 kB / 0.5526 GB, free: 4.535 MB / 398.1 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.0002891/0.3946, allocations: 212 kB / 0.5528 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.3946, allocations: 48 kB / 0.5529 GB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006137/0.3953, allocations: 272.8 kB / 0.5531 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3953, allocations: 3.219 kB / 0.5531 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3953, allocations: 2.5 kB / 0.5531 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3953, allocations: 7.922 kB / 0.5531 GB, free: 4.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.3965, allocations: 0.7799 MB / 0.5539 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3965, allocations: 1.094 kB / 0.5539 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.3968, allocations: 51.2 kB / 0.5539 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002069/0.397, allocations: 50.52 kB / 0.554 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.397, allocations: 7.5 kB / 0.554 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.3985, allocations: 1.547 MB / 0.5555 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3985, allocations: 240 / 0.5555 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.3993, allocations: 482.1 kB / 0.556 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.3994, allocations: 132.2 kB / 0.5561 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.3995, allocations: 14.25 kB / 0.5561 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3997, allocations: 15.44 kB / 0.5561 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.3998, allocations: 21.72 kB / 0.5561 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.3998, allocations: 9.578 kB / 0.5562 GB, free: 1.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003785/0.4002, allocations: 295.9 kB / 0.5564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4002, allocations: 0 / 0.5564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006053/0.4008, allocations: 123.9 kB / 0.5566 GB, free: 1.043 MB / 398.1 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.001488/0.4023, allocations: 412.2 kB / 0.5569 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008592/0.4032, allocations: 379.2 kB / 0.5573 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4032, allocations: 0 / 0.5573 GB, free: 408 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003835/0.4035, allocations: 238.7 kB / 0.5575 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.4043, allocations: 129.9 kB / 0.5577 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.4064, allocations: 1.207 MB / 0.5588 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.4069, allocations: 0.8777 MB / 0.5597 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.4072, allocations: 68.22 kB / 0.5598 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.4072, allocations: 35.44 kB / 0.5598 GB, free: 13.78 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4072, allocations: 0 / 0.5598 GB, free: 13.78 MB / 414.1 MB Notification: Performance of Templates: time 0.01299/0.4202, allocations: 6.727 MB / 0.5664 GB, free: 7.141 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.38846867531538]