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.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_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|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=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 102.3 kB / 17.74 MB, free: 5.332 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.001148/0.001148, allocations: 185.4 kB / 18.67 MB, free: 4.41 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1816/0.1816, allocations: 38.05 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 55.91 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2979, allocations: 58.07 MB / 0.5048 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005965/0.3039, allocations: 5.157 MB / 0.5098 GB, free: 4.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.3068, allocations: 1.987 MB / 0.5117 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.3072, allocations: 14.06 kB / 0.5118 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.3078, allocations: 146.6 kB / 0.5119 GB, free: 2.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009859/0.3088, allocations: 362.6 kB / 0.5122 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.3094, allocations: 220.9 kB / 0.5125 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009532/0.3104, allocations: 0.6967 MB / 0.5131 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005347/0.3109, allocations: 442.1 kB / 0.5136 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.3114, allocations: 294.5 kB / 0.5138 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.3118, allocations: 287.8 kB / 0.5141 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.313e-05/0.3119, allocations: 54 kB / 0.5142 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.3122, allocations: 94.34 kB / 0.5143 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.3123, allocations: 157.5 kB / 0.5144 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.3126, allocations: 263.5 kB / 0.5147 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008747/0.3135, allocations: 0.6542 MB / 0.5153 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3135, allocations: 1.125 kB / 0.5153 GB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3135, allocations: 0 / 0.5153 GB, free: 1.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.3135, allocations: 0 / 0.5153 GB, free: 1.34 MB / 382.1 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.001461/0.315, allocations: 0.8589 MB / 0.5161 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3151, allocations: 12.14 kB / 0.5161 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.3152, allocations: 57.41 kB / 0.5162 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000727/0.3159, allocations: 0.4895 MB / 0.5167 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.316, allocations: 28.17 kB / 0.5167 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.316, allocations: 36.31 kB / 0.5167 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006475/0.3167, allocations: 454.8 kB / 0.5172 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3167, allocations: 5.359 kB / 0.5172 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.3168, allocations: 17.12 kB / 0.5172 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.3168, allocations: 13.23 kB / 0.5172 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.3174, allocations: 282.3 kB / 0.5175 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002422/0.3198, allocations: 1.844 MB / 0.5193 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.3204, allocations: 257.3 kB / 0.5195 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.3205, allocations: 83.64 kB / 0.5196 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.473e-05/0.3206, allocations: 7.094 kB / 0.5196 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.3209, allocations: 169 kB / 0.5198 GB, free: 14.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.878e-06/0.3209, allocations: 4 kB / 0.5198 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001823/0.3227, allocations: 0.9303 MB / 0.5207 GB, free: 13.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/0.3228, allocations: 136.3 kB / 0.5208 GB, free: 13.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.3233, allocations: 401 kB / 0.5212 GB, free: 13.17 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3233, allocations: 34.77 kB / 0.5212 GB, free: 13.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.3235, allocations: 272.7 kB / 0.5215 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.681e-05/0.3236, allocations: 91.48 kB / 0.5216 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.3237, allocations: 75.22 kB / 0.5216 GB, free: 12.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3239, allocations: 349.8 kB / 0.522 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.324, allocations: 83.98 kB / 0.5221 GB, free: 12.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.3243, allocations: 214.2 kB / 0.5223 GB, free: 12.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.3247, allocations: 315.5 kB / 0.5226 GB, free: 11.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3247, allocations: 4.75 kB / 0.5226 GB, free: 11.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008891/0.3256, allocations: 435.3 kB / 0.523 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3256, allocations: 6.75 kB / 0.523 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3256, allocations: 9.031 kB / 0.523 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004397/0.3261, allocations: 95.05 kB / 0.5231 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.3263, allocations: 67.14 kB / 0.5232 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.3287, allocations: 2.012 MB / 0.5251 GB, free: 9.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3291, allocations: 22.11 kB / 0.5251 GB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.3291, allocations: 18.39 kB / 0.5252 GB, free: 9.977 MB / 398.1 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 0.000262/0.3294, allocations: 197.4 kB / 0.5253 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.3295, allocations: 45 kB / 0.5254 GB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/0.3302, allocations: 292.6 kB / 0.5257 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3302, allocations: 5.859 kB / 0.5257 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3302, allocations: 5.375 kB / 0.5257 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.3304, allocations: 135.8 kB / 0.5258 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.3304, allocations: 7.547 kB / 0.5258 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.3307, allocations: 13.45 kB / 0.5258 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.3307, allocations: 23.72 kB / 0.5259 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009907/0.3317, allocations: 0.5275 MB / 0.5264 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007105/0.3325, allocations: 0.6854 MB / 0.527 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001714/0.3326, allocations: 101.2 kB / 0.5271 GB, free: 8.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000377/0.333, allocations: 278.2 kB / 0.5274 GB, free: 8.477 MB / 398.1 MB Notification: Performance of Backend: time 4.61e-07/0.333, allocations: 0 / 0.5274 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002225/0.3353, allocations: 0.7708 MB / 0.5282 GB, free: 8.078 MB / 398.1 MB Notification: Performance of SimCode: time 0.00229/0.3376, allocations: 1.601 MB / 0.5297 GB, free: 6.926 MB / 398.1 MB Notification: Performance of Templates: time 0.0162/0.3538, allocations: 6.611 MB / 0.5362 GB, free: 4.555 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile (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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches