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.001162/0.001162, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002234/0.003396, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001229/0.001229, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001782/0.003011, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9917/0.9917, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08967/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1829/0.1829, allocations: 29.44 MB / 273.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1358/0.3186, allocations: 9.534 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.103e-05, allocations: 3.297 kB / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005196/0.005217, allocations: 5.037 MB / 289.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.008453, allocations: 2.135 MB / 291.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.00891, allocations: 22.81 kB / 291.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.009366, allocations: 146.3 kB / 291.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009708/0.01034, allocations: 407.8 kB / 292.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.01082, allocations: 223.3 kB / 292.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008612/0.01169, allocations: 0.7237 MB / 293.1 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.01211, allocations: 351.7 kB / 293.5 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006386/0.01275, allocations: 477 kB / 293.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.01334, allocations: 249.1 kB / 294.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.01341, allocations: 46.78 kB / 294.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.01369, allocations: 142.1 kB / 294.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.0138, allocations: 138.3 kB / 294.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.01397, allocations: 151 kB / 294.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.01451, allocations: 458.6 kB / 295.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.01452, allocations: 0 / 295.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01452, allocations: 0 / 295.1 MB, free: 4.062 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.01453, allocations: 0 / 295.1 MB, free: 4.062 MB / 282.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.0009426/0.01548, allocations: 0.8782 MB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.0155, allocations: 11.97 kB / 296 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.438e-05/0.01559, allocations: 64.89 kB / 296 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.01603, allocations: 381.3 kB / 296.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.01605, allocations: 29.12 kB / 296.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.0161, allocations: 40 kB / 296.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.01641, allocations: 353.6 kB / 296.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01642, allocations: 7.938 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.01644, allocations: 20 kB / 296.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01645, allocations: 8 kB / 296.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.01658, allocations: 115.2 kB / 297 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.01767, allocations: 1.472 MB / 298.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.01789, allocations: 206.1 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.477e-05/0.01794, allocations: 46.69 kB / 298.7 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.01796, allocations: 4 kB / 298.7 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.01811, allocations: 148.3 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.122e-06/0.01811, allocations: 0 / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007466/0.01886, allocations: 477.7 kB / 299.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.01889, allocations: 114.8 kB / 299.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.01912, allocations: 360.8 kB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.01914, allocations: 37.64 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.01922, allocations: 237 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.01927, allocations: 95.2 kB / 300.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.01933, allocations: 69.62 kB / 300.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.01942, allocations: 354.7 kB / 300.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.01946, allocations: 34.88 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.01956, allocations: 194.6 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.01973, allocations: 245.2 kB / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01973, allocations: 0 / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003153/0.02005, allocations: 283.3 kB / 301.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.02006, allocations: 8 kB / 301.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.02007, allocations: 4.531 kB / 301.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004684/0.02053, allocations: 95.59 kB / 301.4 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.02068, allocations: 76.45 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.02179, allocations: 1.691 MB / 303.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.0219, allocations: 15.94 kB / 303.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.02192, allocations: 12 kB / 303.2 MB, free: 11.4 MB / 298.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 9.271e-05/0.02201, allocations: 136.6 kB / 303.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.02205, allocations: 31.97 kB / 303.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.02228, allocations: 188.8 kB / 303.5 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.02228, allocations: 8 kB / 303.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02228, allocations: 4 kB / 303.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.02229, allocations: 0 / 303.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.0227, allocations: 474.4 kB / 304 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.0227, allocations: 0 / 304 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.02285, allocations: 55.91 kB / 304.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.02291, allocations: 43.7 kB / 304.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001005/0.02301, allocations: 43.62 kB / 304.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.02302, allocations: 11.98 kB / 304.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005937/0.02361, allocations: 1.25 MB / 305.4 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.02362, allocations: 3.984 kB / 305.4 MB, free: 9.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.0239, allocations: 367.2 kB / 305.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.02393, allocations: 11.98 kB / 305.8 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.02402, allocations: 11.94 kB / 305.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.02407, allocations: 23.89 kB / 305.8 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.02408, allocations: 8 kB / 305.8 MB, free: 8.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.02419, allocations: 155.5 kB / 306 MB, free: 8.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02419, allocations: 0 / 306 MB, free: 8.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003214/0.02451, allocations: 123.8 kB / 306.1 MB, free: 8.301 MB / 298.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.001248/0.02576, allocations: 0.6106 MB / 306.7 MB, free: 8.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.02617, allocations: 328.4 kB / 307 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.02618, allocations: 4 kB / 307 MB, free: 7.691 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.02636, allocations: 227 kB / 307.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.02695, allocations: 0.9743 MB / 308.2 MB, free: 6.309 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006686/0.03363, allocations: 0.9238 MB / 309.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.03371, allocations: 129.2 kB / 309.3 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.03385, allocations: 55.22 kB / 309.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.03403, allocations: 149.3 kB / 309.5 MB, free: 5 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.03403, allocations: 0 / 309.5 MB, free: 5 MB / 298.7 MB Notification: Performance of Templates: time 0.009307/0.04334, allocations: 7.248 MB / 316.7 MB, free: 13.88 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.163330269046128]