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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 114.2 kB / 19.04 MB, free: 3.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 184.5 kB / 22.21 MB, free: 108 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2241/0.2241, allocations: 38.52 MB / 344.4 MB, free: 2.613 MB / 270.1 MB " [Timeout remaining time 180] 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=2500,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=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 59.91 kB / 482 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2966, allocations: 61.25 MB / 0.5306 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005687/0.3022, allocations: 5.317 MB / 0.5358 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.3046, allocations: 2.004 MB / 0.5377 GB, free: 336 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.3048, allocations: 14.94 kB / 0.5377 GB, free: 332 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.3052, allocations: 154.3 kB / 0.5379 GB, free: 204 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000728/0.306, allocations: 361.5 kB / 0.5382 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.3064, allocations: 220.2 kB / 0.5384 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.3072, allocations: 0.6976 MB / 0.5391 GB, free: 15.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.3076, allocations: 332.2 kB / 0.5394 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.308, allocations: 300.9 kB / 0.5397 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.3084, allocations: 284.3 kB / 0.54 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.895e-05/0.3085, allocations: 48.28 kB / 0.54 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.3087, allocations: 104.1 kB / 0.5401 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.3088, allocations: 152.2 kB / 0.5403 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.3091, allocations: 270 kB / 0.5405 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.3099, allocations: 0.6522 MB / 0.5412 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3099, allocations: 0 / 0.5412 GB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3099, allocations: 3.938 kB / 0.5412 GB, free: 13.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.3099, allocations: 1.344 kB / 0.5412 GB, free: 13.96 MB / 398.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.001464/0.3113, allocations: 0.8559 MB / 0.542 GB, free: 13.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.3114, allocations: 14.39 kB / 0.542 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.3115, allocations: 59.53 kB / 0.5421 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.3122, allocations: 486.4 kB / 0.5425 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.3123, allocations: 28.47 kB / 0.5426 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.3123, allocations: 35.69 kB / 0.5426 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/0.313, allocations: 461.8 kB / 0.543 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.313, allocations: 9.125 kB / 0.5431 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.3131, allocations: 12.25 kB / 0.5431 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3131, allocations: 13.56 kB / 0.5431 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.3135, allocations: 280.9 kB / 0.5433 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.3156, allocations: 1.853 MB / 0.5452 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.3161, allocations: 246.2 kB / 0.5454 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3162, allocations: 80.61 kB / 0.5455 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3163, allocations: 15.36 kB / 0.5455 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.3166, allocations: 180.4 kB / 0.5457 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.3166, allocations: 0 / 0.5457 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001694/0.3182, allocations: 0.9231 MB / 0.5466 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.3183, allocations: 135 kB / 0.5467 GB, free: 9.395 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.3188, allocations: 408.7 kB / 0.5471 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3188, allocations: 31.08 kB / 0.5471 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.319, allocations: 266.5 kB / 0.5474 GB, free: 8.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.3191, allocations: 95.58 kB / 0.5474 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.3192, allocations: 72.17 kB / 0.5475 GB, free: 8.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3194, allocations: 356.4 kB / 0.5479 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3195, allocations: 79.45 kB / 0.5479 GB, free: 8.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.3198, allocations: 218.5 kB / 0.5481 GB, free: 8.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.3202, allocations: 311.5 kB / 0.5484 GB, free: 7.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3202, allocations: 1.188 kB / 0.5484 GB, free: 7.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008244/0.321, allocations: 434.7 kB / 0.5489 GB, free: 7.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.321, allocations: 6.875 kB / 0.5489 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3211, allocations: 4.188 kB / 0.5489 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.3215, allocations: 93.83 kB / 0.549 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3217, allocations: 67.25 kB / 0.549 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.3241, allocations: 2.002 MB / 0.551 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.3243, allocations: 23.39 kB / 0.551 GB, free: 5.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.3244, allocations: 12.97 kB / 0.551 GB, free: 5.699 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.0002562/0.3246, allocations: 211.1 kB / 0.5512 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3247, allocations: 43.72 kB / 0.5513 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005838/0.3253, allocations: 295.1 kB / 0.5515 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3253, allocations: 3.219 kB / 0.5515 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3253, allocations: 2.125 kB / 0.5515 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3253, allocations: 4.984 kB / 0.5515 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3264, allocations: 0.7667 MB / 0.5523 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3264, allocations: 4.938 kB / 0.5523 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3266, allocations: 46.78 kB / 0.5523 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/0.3268, allocations: 51.3 kB / 0.5524 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.3268, allocations: 7.422 kB / 0.5524 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.3282, allocations: 1.545 MB / 0.5539 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3282, allocations: 1.5 kB / 0.5539 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.3289, allocations: 0.4911 MB / 0.5544 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.3291, allocations: 134.9 kB / 0.5545 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.3291, allocations: 6.531 kB / 0.5545 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.3293, allocations: 15.48 kB / 0.5545 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.3294, allocations: 26.25 kB / 0.5546 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.3294, allocations: 11.69 kB / 0.5546 GB, free: 2.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003046/0.3297, allocations: 281.6 kB / 0.5548 GB, free: 2.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3297, allocations: 0 / 0.5548 GB, free: 2.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.3302, allocations: 110 kB / 0.5549 GB, free: 2.391 MB / 398.1 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.001315/0.3315, allocations: 412.4 kB / 0.5553 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008538/0.3324, allocations: 396 kB / 0.5557 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3324, allocations: 1.25 kB / 0.5557 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.3328, allocations: 238.2 kB / 0.5559 GB, free: 1.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.3335, allocations: 129.3 kB / 0.5561 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3353, allocations: 1.111 MB / 0.5572 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.3358, allocations: 0.8582 MB / 0.558 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.336, allocations: 63.28 kB / 0.5581 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.004e-05/0.3361, allocations: 35.42 kB / 0.5581 GB, free: 15.57 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3361, allocations: 0 / 0.5581 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Templates: time 0.0133/0.3494, allocations: 6.454 MB / 0.5644 GB, free: 9.191 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.261280380189419]