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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 114.3 kB / 17.75 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 189.3 kB / 18.68 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1715/0.1715, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3141, allocations: 58.05 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.006292/0.3204, allocations: 5.694 MB / 0.5103 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.3231, allocations: 2.117 MB / 0.5124 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.3234, allocations: 19.56 kB / 0.5124 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.3239, allocations: 173.5 kB / 0.5126 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007715/0.3247, allocations: 418.4 kB / 0.513 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.3252, allocations: 253.3 kB / 0.5132 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009073/0.3262, allocations: 0.8331 MB / 0.514 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005828/0.3267, allocations: 0.5005 MB / 0.5145 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.3272, allocations: 364.6 kB / 0.5149 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.3276, allocations: 339.7 kB / 0.5152 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.488e-05/0.3277, allocations: 53.56 kB / 0.5152 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3279, allocations: 103.2 kB / 0.5153 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.3281, allocations: 180.7 kB / 0.5155 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.3284, allocations: 305.1 kB / 0.5158 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007777/0.3291, allocations: 0.7408 MB / 0.5165 GB, free: 320 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3292, allocations: 0 / 0.5165 GB, free: 320 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3292, allocations: 4 kB / 0.5165 GB, free: 316 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.3292, allocations: 1.188 kB / 0.5165 GB, free: 316 kB / 382.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.001573/0.3308, allocations: 0.8856 MB / 0.5174 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3308, allocations: 17.05 kB / 0.5174 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3309, allocations: 62.16 kB / 0.5175 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.332, allocations: 0.5276 MB / 0.518 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.332, allocations: 31.47 kB / 0.518 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3321, allocations: 45.62 kB / 0.5181 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.333, allocations: 0.5211 MB / 0.5186 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.3331, allocations: 1.188 kB / 0.5186 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.3331, allocations: 16.72 kB / 0.5186 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.163e-05/0.3332, allocations: 17.06 kB / 0.5186 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006045/0.3338, allocations: 340.6 kB / 0.5189 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.3363, allocations: 2.057 MB / 0.5209 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.3367, allocations: 233.5 kB / 0.5212 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3369, allocations: 80 kB / 0.5212 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.3369, allocations: 7.203 kB / 0.5212 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.3372, allocations: 168.1 kB / 0.5214 GB, free: 12.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.3372, allocations: 0 / 0.5214 GB, free: 12.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001648/0.3388, allocations: 0.9219 MB / 0.5223 GB, free: 12.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.3389, allocations: 140.5 kB / 0.5224 GB, free: 12.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.3394, allocations: 426.9 kB / 0.5228 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3394, allocations: 30.86 kB / 0.5229 GB, free: 11.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3396, allocations: 296.7 kB / 0.5232 GB, free: 11.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.3397, allocations: 89.47 kB / 0.5232 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3398, allocations: 80.92 kB / 0.5233 GB, free: 11.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.34, allocations: 355.4 kB / 0.5237 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3402, allocations: 85.03 kB / 0.5237 GB, free: 11.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.3404, allocations: 223.2 kB / 0.524 GB, free: 10.99 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.3408, allocations: 325.8 kB / 0.5243 GB, free: 10.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3408, allocations: 1.375 kB / 0.5243 GB, free: 10.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008468/0.3417, allocations: 441.4 kB / 0.5247 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3417, allocations: 7.375 kB / 0.5247 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3417, allocations: 9.031 kB / 0.5247 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.3422, allocations: 88.39 kB / 0.5248 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3424, allocations: 73.17 kB / 0.5249 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.3444, allocations: 1.838 MB / 0.5267 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.3447, allocations: 21.95 kB / 0.5267 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.3447, allocations: 14.31 kB / 0.5267 GB, free: 8.871 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.0002434/0.345, allocations: 201.8 kB / 0.5269 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.345, allocations: 44.81 kB / 0.5269 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005568/0.3456, allocations: 291.5 kB / 0.5272 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.3456, allocations: 2.812 kB / 0.5272 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3456, allocations: 0 / 0.5272 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3458, allocations: 131.5 kB / 0.5273 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.3459, allocations: 7.375 kB / 0.5273 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.346, allocations: 13.97 kB / 0.5273 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.3461, allocations: 26 kB / 0.5274 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009598/0.3471, allocations: 0.5302 MB / 0.5279 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006253/0.3477, allocations: 0.6443 MB / 0.5285 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001636/0.3479, allocations: 100.2 kB / 0.5286 GB, free: 7.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003319/0.3482, allocations: 298.4 kB / 0.5289 GB, free: 7.383 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3482, allocations: 0 / 0.5289 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.3503, allocations: 0.7539 MB / 0.5296 GB, free: 7 MB / 398.1 MB Notification: Performance of SimCode: time 0.002224/0.3525, allocations: 1.701 MB / 0.5313 GB, free: 5.785 MB / 398.1 MB Notification: Performance of Templates: time 0.01303/0.3656, allocations: 6.901 MB / 0.538 GB, free: 3.07 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches