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.001517/0.001517, allocations: 112.2 kB / 21.19 MB, free: 0.7539 MB / 14.72 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.001678/0.001678, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 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.372/1.372, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.1731/0.1731, allocations: 38.53 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 72.17 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2757, allocations: 62.48 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007249/0.2829, allocations: 5.903 MB / 0.549 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.2864, allocations: 2.306 MB / 0.5513 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.2867, allocations: 28.25 kB / 0.5513 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.2872, allocations: 175.8 kB / 0.5514 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009828/0.2882, allocations: 463 kB / 0.5519 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.2888, allocations: 254.2 kB / 0.5521 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.2899, allocations: 0.8546 MB / 0.553 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.2904, allocations: 392.2 kB / 0.5533 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.2909, allocations: 367.1 kB / 0.5537 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.2914, allocations: 362 kB / 0.554 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.2915, allocations: 59.16 kB / 0.5541 GB, free: 8.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.2918, allocations: 154.9 kB / 0.5542 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.292, allocations: 189 kB / 0.5544 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.2923, allocations: 311.5 kB / 0.5547 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000906/0.2932, allocations: 0.7897 MB / 0.5555 GB, free: 7.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2932, allocations: 0.8438 kB / 0.5555 GB, free: 7.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2932, allocations: 0 / 0.5555 GB, free: 7.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.2932, allocations: 0 / 0.5555 GB, free: 7.281 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001601/0.2948, allocations: 0.8648 MB / 0.5563 GB, free: 6.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2948, allocations: 17.86 kB / 0.5563 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.295, allocations: 66.02 kB / 0.5564 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008767/0.2958, allocations: 471.9 kB / 0.5569 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.2959, allocations: 34.62 kB / 0.5569 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.296, allocations: 49.39 kB / 0.5569 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008069/0.2968, allocations: 0.5146 MB / 0.5574 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2968, allocations: 4 kB / 0.5574 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.2969, allocations: 19.94 kB / 0.5575 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/0.2969, allocations: 21 kB / 0.5575 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005534/0.2975, allocations: 331.7 kB / 0.5578 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002604/0.3001, allocations: 1.993 MB / 0.5598 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.3005, allocations: 227.6 kB / 0.56 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.3006, allocations: 78.66 kB / 0.56 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3007, allocations: 8 kB / 0.5601 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/0.3009, allocations: 161.8 kB / 0.5602 GB, free: 2.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.3009, allocations: 0 / 0.5602 GB, free: 2.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.001661/0.3026, allocations: 0.8694 MB / 0.5611 GB, free: 1.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.3027, allocations: 136.5 kB / 0.5612 GB, free: 1.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.3032, allocations: 437.8 kB / 0.5616 GB, free: 1.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.3032, allocations: 33.7 kB / 0.5616 GB, free: 1.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.3035, allocations: 308.4 kB / 0.5619 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.3035, allocations: 95.22 kB / 0.562 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3036, allocations: 78.02 kB / 0.5621 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3038, allocations: 358.7 kB / 0.5624 GB, free: 408 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.304, allocations: 84.83 kB / 0.5625 GB, free: 324 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.3042, allocations: 221.5 kB / 0.5627 GB, free: 40 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.3047, allocations: 325 kB / 0.563 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3047, allocations: 0 / 0.563 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000861/0.3055, allocations: 441.5 kB / 0.5635 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3056, allocations: 8 kB / 0.5635 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3056, allocations: 8.547 kB / 0.5635 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/0.306, allocations: 104.6 kB / 0.5636 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.3062, allocations: 71.91 kB / 0.5636 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.3084, allocations: 1.728 MB / 0.5653 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.3087, allocations: 19.92 kB / 0.5653 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3087, allocations: 20 kB / 0.5654 GB, free: 13.15 MB / 414.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.000258/0.3089, allocations: 197.8 kB / 0.5656 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.309, allocations: 59.59 kB / 0.5656 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/0.3096, allocations: 280.5 kB / 0.5659 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3096, allocations: 4 kB / 0.5659 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3096, allocations: 4 kB / 0.5659 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3096, allocations: 0 / 0.5659 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3108, allocations: 0.7548 MB / 0.5666 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3108, allocations: 4 kB / 0.5666 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.3111, allocations: 47.84 kB / 0.5667 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.3113, allocations: 56.8 kB / 0.5667 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3113, allocations: 8 kB / 0.5667 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.3127, allocations: 1.432 MB / 0.5681 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3127, allocations: 0 / 0.5681 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.3134, allocations: 481.6 kB / 0.5686 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.3136, allocations: 59.75 kB / 0.5687 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.3136, allocations: 16.06 kB / 0.5687 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3139, allocations: 11.98 kB / 0.5687 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.3139, allocations: 27.89 kB / 0.5687 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3139, allocations: 8 kB / 0.5687 GB, free: 9.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003868/0.3143, allocations: 307.1 kB / 0.569 GB, free: 9.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3143, allocations: 0 / 0.569 GB, free: 9.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000563/0.3149, allocations: 131.9 kB / 0.5691 GB, free: 9.078 MB / 414.1 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.001497/0.3164, allocations: 471.1 kB / 0.5696 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.3172, allocations: 378.2 kB / 0.5699 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3172, allocations: 5.062 kB / 0.5699 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.3176, allocations: 246.4 kB / 0.5702 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.3183, allocations: 124.7 kB / 0.5703 GB, free: 8.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.3203, allocations: 1.251 MB / 0.5715 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.3209, allocations: 0.8816 MB / 0.5724 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.321, allocations: 35.44 kB / 0.5724 GB, free: 5.781 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.321, allocations: 0 / 0.5724 GB, free: 5.781 MB / 414.1 MB Notification: Performance of Templates: time 0.01295/0.334, allocations: 9.326 MB / 0.5815 GB, free: 12.5 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.481987528968602]