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.0009072/0.0009072, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.002123, 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.0007185/0.0007185, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009359/0.001654, 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.926/0.926, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08891/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.1389/0.1389, allocations: 29.43 MB / 273.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1373/0.2762, allocations: 9.542 MB / 283.1 MB, free: 12.8 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_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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="power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.468e-05, allocations: 9.297 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.0129/0.01291, allocations: 5.246 MB / 289.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006263/0.01918, allocations: 2.29 MB / 292 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.01951, allocations: 23.44 kB / 292 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004431/0.01995, allocations: 168.6 kB / 292.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008153/0.02077, allocations: 458.6 kB / 292.6 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.02123, allocations: 258.2 kB / 292.9 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003942/0.02517, allocations: 0.8744 MB / 293.7 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.0256, allocations: 408.7 kB / 294.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005988/0.0262, allocations: 0.5374 MB / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.02656, allocations: 290.9 kB / 295 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.02664, allocations: 53.97 kB / 295 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000252/0.02689, allocations: 147.3 kB / 295.2 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.02704, allocations: 171.5 kB / 295.3 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.02722, allocations: 175.6 kB / 295.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003595/0.03081, allocations: 0.4983 MB / 296 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.03082, allocations: 0 / 296 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.03082, allocations: 0 / 296 MB, free: 3.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.03083, allocations: 0 / 296 MB, free: 3.109 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001126/0.03196, allocations: 0.9449 MB / 296.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.03199, allocations: 8.031 kB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.0321, allocations: 76.88 kB / 297 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.03268, allocations: 417.2 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.03271, allocations: 41.11 kB / 297.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.0328, allocations: 47.94 kB / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.03323, allocations: 398.2 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.03324, allocations: 3.953 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.03328, allocations: 19.98 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.767e-05/0.03332, allocations: 21 kB / 298 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/0.03655, allocations: 137.6 kB / 298.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.03803, allocations: 1.538 MB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.03826, allocations: 194.2 kB / 299.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.03831, allocations: 46.69 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.03833, allocations: 4 kB / 299.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.03851, allocations: 142.9 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.03851, allocations: 0 / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008154/0.03932, allocations: 478 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002078/0.0414, allocations: 110.8 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.04178, allocations: 384.8 kB / 301 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.0418, allocations: 29.7 kB / 301 MB, free: 13.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.04195, allocations: 261.1 kB / 301.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.04202, allocations: 91.2 kB / 301.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.04212, allocations: 82.09 kB / 301.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.04224, allocations: 354.7 kB / 301.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.04233, allocations: 43.86 kB / 301.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.04249, allocations: 198.6 kB / 302 MB, free: 12.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.04276, allocations: 258.9 kB / 302.2 MB, free: 12.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.04277, allocations: 3.938 kB / 302.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005339/0.0433, allocations: 291.5 kB / 302.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.04332, allocations: 4 kB / 302.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.04332, allocations: 12.5 kB / 302.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.04364, allocations: 91.58 kB / 302.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.04388, allocations: 79.91 kB / 302.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.04527, allocations: 1.432 MB / 304.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.04545, allocations: 16.03 kB / 304.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.04548, allocations: 19.98 kB / 304.2 MB, free: 10.35 MB / 298.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.0001444/0.04563, allocations: 136.5 kB / 304.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.04568, allocations: 31.97 kB / 304.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.046, allocations: 187.8 kB / 304.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.046, allocations: 4 kB / 304.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.04601, allocations: 4 kB / 304.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.04601, allocations: 0 / 304.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.04665, allocations: 489.8 kB / 305 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.04666, allocations: 0 / 305 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.04684, allocations: 55.89 kB / 305.1 MB, free: 9.414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.0469, allocations: 47.7 kB / 305.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.047, allocations: 39.58 kB / 305.2 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.04701, allocations: 8 kB / 305.2 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006027/0.04761, allocations: 1.263 MB / 306.4 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.04761, allocations: 0 / 306.4 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.04788, allocations: 355.3 kB / 306.8 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.04791, allocations: 8 kB / 306.8 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.04801, allocations: 12.03 kB / 306.8 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.04807, allocations: 31.83 kB / 306.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.04808, allocations: 4 kB / 306.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.04823, allocations: 163.5 kB / 307 MB, free: 7.379 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04823, allocations: 0 / 307 MB, free: 7.379 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.0485, allocations: 131.9 kB / 307.1 MB, free: 7.25 MB / 298.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.001256/0.04976, allocations: 0.6186 MB / 307.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.05015, allocations: 320.1 kB / 308.1 MB, free: 6.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.05016, allocations: 8 kB / 308.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.05034, allocations: 210.8 kB / 308.3 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.05098, allocations: 1.054 MB / 309.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007175/0.05816, allocations: 1.01 MB / 310.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.579e-05/0.05825, allocations: 141.2 kB / 310.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.0584, allocations: 59.44 kB / 310.5 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.05858, allocations: 153.2 kB / 310.7 MB, free: 3.754 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.05858, allocations: 3.938 kB / 310.7 MB, free: 3.75 MB / 298.7 MB Notification: Performance of Templates: time 0.009285/0.06786, allocations: 7.45 MB / 318.1 MB, free: 12.43 MB / 314.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0408541467040777]