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.00119/0.00119, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001021/0.001021, allocations: 168.4 kB / 24.91 MB, free: 8.27 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 0.96/0.96, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2855/0.2855, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.763e-06/1.763e-06, allocations: 0 / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.776e-05, allocations: 6.969 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.005863/0.005891, allocations: 5.158 MB / 322 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.009487, allocations: 2.274 MB / 324.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005857/0.01007, allocations: 27.75 kB / 324.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.01073, allocations: 162.8 kB / 324.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.01203, allocations: 461.1 kB / 324.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.01272, allocations: 259.3 kB / 325.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.01404, allocations: 0.8755 MB / 326 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006454/0.01468, allocations: 419.2 kB / 326.4 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009039/0.01559, allocations: 0.4922 MB / 326.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.01613, allocations: 303.7 kB / 327.2 MB, free: 5.574 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.01622, allocations: 56 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.01659, allocations: 147.8 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.01678, allocations: 195.4 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.01702, allocations: 211.5 kB / 327.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009762/0.018, allocations: 0.5255 MB / 328.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.018, allocations: 3.938 kB / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01801, allocations: 0 / 328.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.01802, allocations: 0 / 328.4 MB, free: 4.441 MB / 298.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.001409/0.01943, allocations: 0.8083 MB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.01948, allocations: 11.98 kB / 329.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.01964, allocations: 72.88 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008484/0.02049, allocations: 425.1 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.02052, allocations: 41.11 kB / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.02063, allocations: 51.95 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.02115, allocations: 398.2 kB / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.02118, allocations: 0 / 330.2 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.02121, allocations: 16 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/0.02128, allocations: 17 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.02151, allocations: 141.5 kB / 330.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.02338, allocations: 1.538 MB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.02367, allocations: 198.3 kB / 332.1 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.02373, allocations: 42.69 kB / 332.1 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.02376, allocations: 4 kB / 332.1 MB, free: 496 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.02396, allocations: 142.9 kB / 332.2 MB, free: 332 kB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.02396, allocations: 4 kB / 332.2 MB, free: 328 kB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001049/0.02501, allocations: 474.8 kB / 332.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.02507, allocations: 132.5 kB / 332.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.02543, allocations: 388.7 kB / 333.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.02545, allocations: 33.7 kB / 333.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.0256, allocations: 261.4 kB / 333.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.02566, allocations: 95.19 kB / 333.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.844e-05/0.02576, allocations: 82.11 kB / 333.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.02587, allocations: 358.7 kB / 334 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.02801, allocations: 35.81 kB / 334.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.02817, allocations: 196 kB / 334.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.02841, allocations: 240 kB / 334.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.02841, allocations: 4 kB / 334.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004917/0.0289, allocations: 295.8 kB / 334.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.02892, allocations: 11.94 kB / 334.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.02893, allocations: 4 kB / 334.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.02924, allocations: 87.73 kB / 334.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.02943, allocations: 71.91 kB / 335 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.03126, allocations: 1.405 MB / 336.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.03151, allocations: 19.94 kB / 336.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.03154, allocations: 16 kB / 336.4 MB, free: 11.83 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 0.0002084/0.03175, allocations: 132.5 kB / 336.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.03182, allocations: 39.91 kB / 336.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.0322, allocations: 183.9 kB / 336.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.0322, allocations: 4 kB / 336.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.03221, allocations: 4 kB / 336.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.03222, allocations: 0 / 336.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008824/0.0331, allocations: 489.8 kB / 337.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.0331, allocations: 0 / 337.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.03329, allocations: 43.92 kB / 337.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001606/0.03345, allocations: 39.64 kB / 337.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.03347, allocations: 19.92 kB / 337.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009884/0.03446, allocations: 1.231 MB / 338.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.03446, allocations: 0 / 338.6 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.03488, allocations: 360.1 kB / 338.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.03498, allocations: 47.73 kB / 339 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.03502, allocations: 4 kB / 339 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.03515, allocations: 15.98 kB / 339 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.03521, allocations: 23.84 kB / 339 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.03523, allocations: 7.984 kB / 339 MB, free: 9.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.0354, allocations: 151.5 kB / 339.2 MB, free: 8.898 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0354, allocations: 0 / 339.2 MB, free: 8.898 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005419/0.03594, allocations: 135.9 kB / 339.3 MB, free: 8.766 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.001608/0.03755, allocations: 0.5746 MB / 339.9 MB, free: 8.488 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006044/0.03815, allocations: 316.8 kB / 340.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/0.03817, allocations: 8 kB / 340.2 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.03846, allocations: 202.4 kB / 340.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.039, allocations: 131.2 kB / 340.5 MB, free: 7.824 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.04102, allocations: 0.9751 MB / 341.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.04114, allocations: 133.2 kB / 341.6 MB, free: 6.652 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.04133, allocations: 63.34 kB / 341.7 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.04155, allocations: 141.3 kB / 341.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of SimCode: time 1.313e-06/0.04155, allocations: 0 / 341.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of Templates: time 0.01346/0.05502, allocations: 7.147 MB / 349 MB, free: 15.44 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.4585797698237]