Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.0009571/0.0009571, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001014/0.001014, allocations: 171.8 kB / 24.92 MB, free: 8.723 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 1.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2267/0.2267, allocations: 29.42 MB / 291.2 MB, free: 2.363 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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.407e-05, allocations: 2.969 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.004602/0.004616, allocations: 4.436 MB / 321.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.006885, allocations: 1.503 MB / 322.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.007109, allocations: 19.81 kB / 322.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003606/0.007469, allocations: 115.2 kB / 323 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.007993, allocations: 278.1 kB / 323.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.008249, allocations: 115.7 kB / 323.4 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.008808, allocations: 0.518 MB / 323.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.008973, allocations: 103.1 kB / 324 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.009297, allocations: 303.1 kB / 324.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.009526, allocations: 175.5 kB / 324.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.009565, allocations: 24 kB / 324.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.092e-05/0.009606, allocations: 28 kB / 324.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.009701, allocations: 107.6 kB / 324.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.009807, allocations: 119.7 kB / 324.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.0101, allocations: 263 kB / 325 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.0101, allocations: 0 / 325 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.0101, allocations: 0 / 325 MB, free: 7.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.01011, allocations: 4 kB / 325 MB, free: 7.836 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006622/0.01077, allocations: 0.5628 MB / 325.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.01081, allocations: 11.98 kB / 325.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.01086, allocations: 48.89 kB / 325.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.01123, allocations: 326 kB / 325.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.01125, allocations: 17.03 kB / 325.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.01129, allocations: 32.36 kB / 326 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.01152, allocations: 255.4 kB / 326.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.01154, allocations: 4 kB / 326.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.01155, allocations: 12 kB / 326.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.01156, allocations: 8 kB / 326.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.01166, allocations: 87.25 kB / 326.3 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008431/0.01251, allocations: 1.223 MB / 327.5 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.01269, allocations: 146.2 kB / 327.7 MB, free: 4.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.01274, allocations: 47.53 kB / 327.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.01275, allocations: 4 kB / 327.7 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.01278, allocations: 38.56 kB / 327.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.01278, allocations: 0 / 327.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004896/0.01327, allocations: 332.4 kB / 328.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.01331, allocations: 136.6 kB / 328.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.01345, allocations: 266.9 kB / 328.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.01347, allocations: 33.7 kB / 328.5 MB, free: 3.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.01354, allocations: 193 kB / 328.7 MB, free: 3.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.01358, allocations: 63.42 kB / 328.8 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.845e-05/0.01363, allocations: 57.66 kB / 328.8 MB, free: 3.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003325/0.01396, allocations: 346.7 kB / 329.2 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.01398, allocations: 19.98 kB / 329.2 MB, free: 3.309 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.01406, allocations: 124.8 kB / 329.3 MB, free: 3.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.01418, allocations: 175.4 kB / 329.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01418, allocations: 0 / 329.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001562/0.01434, allocations: 175.5 kB / 329.7 MB, free: 2.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01436, allocations: 11.94 kB / 329.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01436, allocations: 4.438 kB / 329.7 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.01437, allocations: 8 kB / 329.7 MB, free: 2.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.01458, allocations: 83.89 kB / 329.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000486/0.01506, allocations: 1.196 MB / 331 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.01514, allocations: 12.12 kB / 331 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.01515, allocations: 15.98 kB / 331 MB, free: 1.328 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.01523, allocations: 124.6 kB / 331.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.01528, allocations: 19.98 kB / 331.1 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.0154, allocations: 128.2 kB / 331.2 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01541, allocations: 4 kB / 331.3 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.01541, allocations: 3.938 kB / 331.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01542, allocations: 0 / 331.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.01576, allocations: 340.6 kB / 331.6 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01576, allocations: 4.031 kB / 331.6 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.0159, allocations: 43.97 kB / 331.6 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01591, allocations: 4 kB / 331.6 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01592, allocations: 11.94 kB / 331.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.01592, allocations: 7.938 kB / 331.7 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01592, allocations: 0 / 331.7 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.01613, allocations: 396.1 kB / 332 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.01616, allocations: 23.81 kB / 332.1 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.01618, allocations: 11.94 kB / 332.1 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.01627, allocations: 7.984 kB / 332.1 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.01629, allocations: 19.95 kB / 332.1 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.0163, allocations: 4 kB / 332.1 MB, free: 136 kB / 298.7 MB Notification: Performance of sorting global known variables: time 6.22e-05/0.01636, allocations: 100.6 kB / 332.2 MB, free: 36 kB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01636, allocations: 0 / 332.2 MB, free: 36 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002513/0.01661, allocations: 60.05 kB / 332.3 MB, free: 15.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.764e-05/0.01668, allocations: 76.42 kB / 332.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.01685, allocations: 113.2 kB / 332.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.01685, allocations: 4 kB / 332.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.0169, allocations: 52.7 kB / 332.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.01725, allocations: 72.44 kB / 332.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.01837, allocations: 0.7127 MB / 333.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.344e-05/0.01844, allocations: 112.5 kB / 333.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.01854, allocations: 42.95 kB / 333.4 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.01866, allocations: 107.3 kB / 333.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01867, allocations: 0 / 333.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of Templates: time 0.005168/0.02383, allocations: 3.201 MB / 336.8 MB, free: 11.51 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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: 2.9228532360866666]