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.001732/0.001732, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.002067/0.002067, allocations: 188.2 kB / 23.72 MB, free: 4.711 MB / 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.454/1.454, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.18/0.18, allocations: 38.55 MB / 346.3 MB, free: 2.148 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.002084/0.002084, allocations: 67.89 kB / 484.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4159, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.007817/0.4237, allocations: 5.34 MB / 0.5382 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003412/0.4272, allocations: 2.014 MB / 0.5402 GB, free: 156 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.4276, allocations: 22.28 kB / 0.5402 GB, free: 144 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006092/0.4282, allocations: 143.2 kB / 0.5404 GB, free: 28 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.4293, allocations: 369.6 kB / 0.5407 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.4299, allocations: 215.5 kB / 0.5409 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.431, allocations: 0.7033 MB / 0.5416 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.4315, allocations: 328.3 kB / 0.5419 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005475/0.432, allocations: 310.1 kB / 0.5422 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.4325, allocations: 299.3 kB / 0.5425 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.4326, allocations: 47.66 kB / 0.5426 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.4329, allocations: 93.02 kB / 0.5426 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.4331, allocations: 152 kB / 0.5428 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.4334, allocations: 274.2 kB / 0.5431 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.4344, allocations: 0.6485 MB / 0.5437 GB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.4344, allocations: 0 / 0.5437 GB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4344, allocations: 4 kB / 0.5437 GB, free: 13.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.4344, allocations: 0 / 0.5437 GB, free: 13.78 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.001914/0.4363, allocations: 0.7861 MB / 0.5445 GB, free: 13.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4364, allocations: 9.75 kB / 0.5445 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.4365, allocations: 55.86 kB / 0.5445 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008992/0.4374, allocations: 422.2 kB / 0.5449 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.4375, allocations: 28.25 kB / 0.5449 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.4376, allocations: 40.81 kB / 0.545 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008278/0.4384, allocations: 460.9 kB / 0.5454 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.4384, allocations: 6.172 kB / 0.5454 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.4385, allocations: 15.56 kB / 0.5454 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.4385, allocations: 9.375 kB / 0.5455 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.439, allocations: 276.4 kB / 0.5457 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/0.4416, allocations: 1.793 MB / 0.5475 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.4422, allocations: 243.7 kB / 0.5477 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.4423, allocations: 80.23 kB / 0.5478 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.4424, allocations: 7.5 kB / 0.5478 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.4427, allocations: 180.4 kB / 0.548 GB, free: 10.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.953e-06/0.4427, allocations: 0 / 0.548 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002023/0.4447, allocations: 0.8492 MB / 0.5488 GB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4448, allocations: 139.2 kB / 0.5489 GB, free: 9.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.4454, allocations: 403.5 kB / 0.5493 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.4454, allocations: 32.42 kB / 0.5493 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.4456, allocations: 266 kB / 0.5496 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.4457, allocations: 95.86 kB / 0.5497 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.4459, allocations: 75.77 kB / 0.5498 GB, free: 8.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.446, allocations: 347.8 kB / 0.5501 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.4462, allocations: 87.52 kB / 0.5502 GB, free: 8.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.4465, allocations: 214.8 kB / 0.5504 GB, free: 8.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.4469, allocations: 311.6 kB / 0.5507 GB, free: 8.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4469, allocations: 1.438 kB / 0.5507 GB, free: 8.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009299/0.4479, allocations: 426.9 kB / 0.5511 GB, free: 7.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.4479, allocations: 14.84 kB / 0.5511 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4479, allocations: 4.156 kB / 0.5511 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.4484, allocations: 97.27 kB / 0.5512 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.4486, allocations: 66.66 kB / 0.5513 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.4512, allocations: 1.919 MB / 0.5531 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.4516, allocations: 18.83 kB / 0.5531 GB, free: 5.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.4516, allocations: 17.59 kB / 0.5532 GB, free: 5.984 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.0003018/0.4519, allocations: 190.1 kB / 0.5533 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.452, allocations: 48.38 kB / 0.5534 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/0.4527, allocations: 299.5 kB / 0.5537 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4527, allocations: 2.844 kB / 0.5537 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4527, allocations: 1.344 kB / 0.5537 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4527, allocations: 1.219 kB / 0.5537 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.4539, allocations: 0.7435 MB / 0.5544 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4539, allocations: 5.297 kB / 0.5544 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.4542, allocations: 47.23 kB / 0.5545 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.4544, allocations: 51.11 kB / 0.5545 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.4544, allocations: 6.438 kB / 0.5545 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.4559, allocations: 1.444 MB / 0.5559 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4559, allocations: 0 / 0.5559 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.4568, allocations: 0.5 MB / 0.5564 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.457, allocations: 51.31 kB / 0.5565 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.4571, allocations: 9.766 kB / 0.5565 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.4573, allocations: 11.69 kB / 0.5565 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.4574, allocations: 24.11 kB / 0.5565 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.4574, allocations: 10.5 kB / 0.5565 GB, free: 3.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000404/0.4578, allocations: 286.8 kB / 0.5568 GB, free: 2.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4578, allocations: 3.938 kB / 0.5568 GB, free: 2.949 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006655/0.4585, allocations: 106.3 kB / 0.5569 GB, free: 2.918 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.001502/0.46, allocations: 402.4 kB / 0.5573 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.461, allocations: 394.7 kB / 0.5577 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.461, allocations: 0 / 0.5577 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004591/0.4615, allocations: 247.3 kB / 0.5579 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.4623, allocations: 119.9 kB / 0.558 GB, free: 1.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.4646, allocations: 1.104 MB / 0.5591 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.4652, allocations: 0.8543 MB / 0.5599 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.4655, allocations: 67.36 kB / 0.56 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4656, allocations: 35.42 kB / 0.56 GB, free: 15.78 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4656, allocations: 0 / 0.56 GB, free: 15.78 MB / 414.1 MB Notification: Performance of Templates: time 0.01615/0.4817, allocations: 6.554 MB / 0.5664 GB, free: 9.293 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.276171770878136]