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.001431/0.001431, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001642/0.001642, allocations: 164.8 kB / 25.61 MB, free: 8.902 MB / 18.57 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 1.016/1.016, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1367/0.1367, allocations: 29.43 MB / 292 MB, free: 2.652 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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="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=2500,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.01e-05, allocations: 3.188 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.004292/0.004312, allocations: 5.126 MB / 376 MB, free: 27.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.006796, allocations: 2.235 MB / 378.2 MB, free: 24.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.00714, allocations: 23.81 kB / 378.3 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.007637, allocations: 162.7 kB / 378.4 MB, free: 24.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009102/0.008547, allocations: 469.1 kB / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.009029, allocations: 247.4 kB / 379.1 MB, free: 24.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009508/0.00998, allocations: 0.8872 MB / 380 MB, free: 23.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004653/0.01045, allocations: 405.3 kB / 380.4 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.01102, allocations: 0.5027 MB / 380.9 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.0114, allocations: 299.1 kB / 381.2 MB, free: 21.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.01146, allocations: 52 kB / 381.3 MB, free: 21.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.01168, allocations: 143.8 kB / 381.4 MB, free: 21.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.0118, allocations: 195.4 kB / 381.6 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.01193, allocations: 207.5 kB / 381.8 MB, free: 21.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.01251, allocations: 0.5333 MB / 382.3 MB, free: 20.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.01251, allocations: 0 / 382.3 MB, free: 20.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01251, allocations: 4 kB / 382.3 MB, free: 20.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.01252, allocations: 0 / 382.3 MB, free: 20.85 MB / 314.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.001108/0.01362, allocations: 0.9524 MB / 383.3 MB, free: 19.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.01366, allocations: 12.03 kB / 383.3 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.0138, allocations: 100.6 kB / 383.4 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.0144, allocations: 478.6 kB / 383.9 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.01443, allocations: 33.12 kB / 383.9 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.0145, allocations: 48 kB / 383.9 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.01485, allocations: 422.5 kB / 384.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.01487, allocations: 0 / 384.3 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.01489, allocations: 19.94 kB / 384.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.01494, allocations: 17 kB / 384.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.01511, allocations: 142.7 kB / 384.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01639, allocations: 2.128 MB / 386.6 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.01661, allocations: 189.6 kB / 386.8 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.01665, allocations: 57.33 kB / 386.9 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.01668, allocations: 4 kB / 386.9 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.01684, allocations: 152 kB / 387 MB, free: 15.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.01684, allocations: 0 / 387 MB, free: 15.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008202/0.01766, allocations: 0.5017 MB / 387.5 MB, free: 15.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.01769, allocations: 136.7 kB / 387.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.0179, allocations: 430.4 kB / 388.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.01791, allocations: 33.7 kB / 388.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01802, allocations: 362.8 kB / 388.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.01808, allocations: 99.2 kB / 388.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.01814, allocations: 79.78 kB / 388.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.628e-05/0.01821, allocations: 0.5312 MB / 389.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.01826, allocations: 32.97 kB / 389.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.758e-05/0.01835, allocations: 256.6 kB / 389.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.01852, allocations: 292.7 kB / 389.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01853, allocations: 4 kB / 389.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003813/0.01891, allocations: 348.8 kB / 390.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01892, allocations: 8 kB / 390.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01893, allocations: 4 kB / 390.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.0192, allocations: 95.8 kB / 390.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.01933, allocations: 79.78 kB / 390.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009789/0.02031, allocations: 1.979 MB / 392.3 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.02045, allocations: 19.98 kB / 392.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.02047, allocations: 15.94 kB / 392.3 MB, free: 10.15 MB / 314.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 9.38e-05/0.02056, allocations: 184.4 kB / 392.5 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.0206, allocations: 51.72 kB / 392.5 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.02086, allocations: 214 kB / 392.7 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02086, allocations: 4 kB / 392.7 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.02086, allocations: 7.938 kB / 392.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.02087, allocations: 0 / 392.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.02139, allocations: 0.5648 MB / 393.3 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.02139, allocations: 0 / 393.3 MB, free: 9.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.02153, allocations: 47.92 kB / 393.4 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.02163, allocations: 43.62 kB / 393.4 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.02165, allocations: 8 kB / 393.4 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000546/0.02219, allocations: 1.799 MB / 395.2 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.0222, allocations: 4 kB / 395.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.0225, allocations: 431.5 kB / 395.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.02256, allocations: 51.73 kB / 395.7 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.02259, allocations: 7.938 kB / 395.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.02269, allocations: 15.98 kB / 395.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.02273, allocations: 19.97 kB / 395.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.02274, allocations: 12.05 kB / 395.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.02285, allocations: 263 kB / 396 MB, free: 6.258 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02285, allocations: 0 / 396 MB, free: 6.258 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.0232, allocations: 135.9 kB / 396.1 MB, free: 6.125 MB / 314.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.0008801/0.02408, allocations: 459.5 kB / 396.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.02444, allocations: 375 kB / 396.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02445, allocations: 0 / 396.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.02459, allocations: 261.4 kB / 397.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.02499, allocations: 121.7 kB / 397.3 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.02635, allocations: 1.047 MB / 398.4 MB, free: 3.988 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.92e-05/0.02642, allocations: 145.2 kB / 398.5 MB, free: 3.824 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.02655, allocations: 55.38 kB / 398.6 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.02671, allocations: 174.1 kB / 398.7 MB, free: 3.598 MB / 314.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02671, allocations: 4 kB / 398.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of Templates: time 0.01004/0.03675, allocations: 7.262 MB / 406 MB, free: 12.47 MB / 330.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.532885790336877]